History log of /rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/pwm.h (Results 1 – 8 of 8)
Revision Date Author Comments
# 6a624b88 23-Feb-2024 Damon Ding <damon.ding@rock-chips.com>

pwm: rockchip: add support for rk3576

In addition, remove unused reg cntr, and add version
informations for future expansion.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ia5e69

pwm: rockchip: add support for rk3576

In addition, remove unused reg cntr, and add version
informations for future expansion.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ia5e69dd709f5d9c03e6331c4fd4e2a0b2499e781

show more ...


# fdd40e00 16-Mar-2018 David Wu <david.wu@rock-chips.com>

pwm: rockchip: Update PWM driver to support all Rockchip Socs

The new PWM driver support PWM polarity, lock, voppwm and more
functions. In most cases, the PWM requires the same configuration
as kern

pwm: rockchip: Update PWM driver to support all Rockchip Socs

The new PWM driver support PWM polarity, lock, voppwm and more
functions. In most cases, the PWM requires the same configuration
as kernel to reduce the intermediate state between uboot and kernel,
so we sync the code with driver.

Change-Id: Ife5b8470f72eed197dd48e949bcf7da95b9de34c
Signed-off-by: David Wu <david.wu@rock-chips.com>

show more ...


# 06f4e36b 19-Jul-2017 Kever Yang <kever.yang@rock-chips.com>

rockchip: pwm: add mask for config setting

Use mask to clear old setting before direct set the new config,
or else there it will mess up the config when it's not the same
with default value.

Fixes:

rockchip: pwm: add mask for config setting

Use mask to clear old setting before direct set the new config,
or else there it will mess up the config when it's not the same
with default value.

Fixes: 3851059 rockchip: Setup default PWM flags
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


# d43ef73b 11-Jul-2017 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-rockchip


# e3ef41df 19-Jun-2017 eric.gao@rock-chips.com <eric.gao@rock-chips.com>

rockchip: pwm: fix the register layout for the PWM controller

According to rk3288 spec, the pwm register order is:
PWM_PWM0_CNT,
PWM_PWM0_PERIOD_HPR,
PWM_PWM0_DUTY_LPR,
PWM_PWM0_CTRL

rockchip: pwm: fix the register layout for the PWM controller

According to rk3288 spec, the pwm register order is:
PWM_PWM0_CNT,
PWM_PWM0_PERIOD_HPR,
PWM_PWM0_DUTY_LPR,
PWM_PWM0_CTRL
but the source code's order is:
struct rk3288_pwm {
u32 cnt;
u32 duty_lpr;
u32 period_hpr;
u32 ctrl;
};

So, correct it here. It is the same as RK3399.

Signed-off-by: Eric Gao <eric.gao@rock-chips.com>
Edited the commit message:
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


# 51b4a639 03-Oct-2016 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-rockchip


# d840daf4 23-Sep-2016 Kever Yang <kever.yang@rock-chips.com>

rockchip: rkpwm: fix the register sequence

Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2

rockchip: rkpwm: fix the register sequence

Reference to kernel source code, rockchip pwm has three
type, we are using v2 for rk3288 and rk3399, so let's
update the register to sync with pwm_data_v2 in kernel.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...


# 0e23fd81 22-Jan-2016 Simon Glass <sjg@chromium.org>

pwm: rockchip: Add a PWM driver for Rockchip SoCs

Add a simple driver which implements the standard PWM uclass interface.

Signed-off-by: Simon Glass <sjg@chromium.org>