This patch set is based on the latest linux-pwm.git / for-next branch. (commit id = a83a6a82250fe900be85c8e142f5cb504d9482bd) Changes from v6: - Modify rcar_pwm_set_counter() to be readable code. - Add a condition not to call rcar_pwm_set_clock_control() in rcar_pwm_config. - Remove chip.of_xlate setting to use of_pwm_simple_xlate(). Changes from v5: - Fix coding style and unreadable code in patch 2. - Add "Reviewed-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>". Changes from v4: - Clean up coding style and typo in patch 2. - Change to_rcar_pwm_chip() macro to static inline function in patch 2. - Use writel()/readl() instead of iowrite32()/ioread32() in patch 2. - Add an error handling in rcar_pwm_config() to avoid silent in patch 2. - Remove success message in rcar_pwm_probe() in patch 2. - Change rcar_pwm_remove() to always call pm_runtime_disable() in patch 2. Changes from v3: - Fix register size in patch 1. - Add "Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>" in patch 1 - Remove an unnecessary definition in patch 2. - Use "ULL" to avoid overflow in patch 2. - Remove unnecessary casts in patch 2. Changes from v2: - Add compatible string "renesas,pwm-rcar". - Remove compatible strings "renesas,pwm-r8a77xx" in rcar_pwm_of_table. - Fix build error. Changes from v1: - Change compatible string to SoC-specific compatible values. - Fix #pwm-call value to 2 in the device tree document. - Fix "depends on" value in Kconfig. - Fix help explanation in Kconfig. - Remove an unnecessary member in rcar_pwm_chip. - Remove hardcoded number of channels and change chip.npwm value to 1. - Fix formulas for clock calculation to improve accuracy. Yoshihiro Shimoda (2): pwm: Add device tree binding document for R-Car PWM Timer pwm: Add support for R-Car PWM Timer .../devicetree/bindings/pwm/renesas,pwm-rcar.txt | 27 +++ drivers/pwm/Kconfig | 11 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-rcar.c | 266 +++++++++++++++++++++ 4 files changed, 305 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt create mode 100644 drivers/pwm/pwm-rcar.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html