diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-06-17 15:33:31 +0200 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-10-02 00:39:47 +0200 |
commit | 313cc8bf5b31a76f3a90457c7761de71659b4b6a (patch) | |
tree | de6625dffafc64ae6db6a1966c3ee9483de4b179 /usr | |
parent | d2e073766995d12301b0954a64045623ca4b070d (diff) |
rk3368: grf: Switch PWM to RK_PWM.
The RK3368's GRF has the bit 'pwm_sel' in GRF_SOC_CON15,
which defines the active PWM controller.
By default this is the DW_PWM block.
Contrary to that the DTSI only lists the RK_PWM block.
The effect of that is, that PWM does not work as expected on the RK3368.
Although the PWM counter registers shows that the PWM controller is
working as expected, there is no PWM output on the corresponding PWM pin.
This patch switches the PWM source to the RK_PWM block during bootup
with the effect, that the RK_PWM block can be used (as specified in the
DTSI).
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions