From: Tony Lindgren Date: Tue, 1 Mar 2016 20:55:17 +0000 (-0800) Subject: Revert "ARM: dts: DRA7: Add dt nodes for PWMSS" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=04862d8063ee2b8a4f3325be72edfbb1761c9617;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Revert "ARM: dts: DRA7: Add dt nodes for PWMSS" This reverts commit 5fcc673067a2b577d37f2c5c5439dbb177f7107e. The binding may need to change pending related hwmod comments, so reverting as requested by Paul Walmsley . --- diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt index 25d91ae57de5..9c100b2c5b23 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt @@ -4,7 +4,6 @@ Required properties: - compatible: Must be "ti,-ehrpwm". for am33xx - compatible = "ti,am33xx-ehrpwm"; for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; - for dra7xx - compatible = "ti,dra7xx-ehrpwm", "ti,am33xx-ehrpwm"; - #pwm-cells: should be 3. See pwm.txt in this directory for a description of the cells format. The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. @@ -28,10 +27,3 @@ ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */ #pwm-cells = <3>; reg = <0x300000 0x2000>; }; - -ehrpwm0: ehrpwm@0 { /* EHRPWM on dra7xx */ - compatible = "ti,dra7xx-ehrpwm", "ti,am33xx-ehrpwm"; - #pwm-cells = <3>; - reg = <0x48440200 0x80>; - ti,hwmods = "ehrpwm0"; -}; diff --git a/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt index 9270ce6b2da2..f7eae77f8354 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt @@ -1,9 +1,7 @@ TI SOC based PWM Subsystem Required properties: -- compatible: Must be "ti,-pwmss". - for am33xx - compatible = "ti,am33xx-pwmss" - for dra7xx - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss" +- compatible: Must be "ti,am33xx-pwmss"; - reg: physical base address and size of the registers map. - address-cells: Specify the number of u32 entries needed in child nodes. Should set to 1. @@ -31,16 +29,3 @@ pwmss0: pwmss@48300000 { /* child nodes go here */ }; - -epwmss0: epwmss@4843e000 { /* On DRA7xx */ - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss"; - reg = <0x4843e000 0x30>; - ti,hwmods = "epwmss0"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x4843e100 0x4843e100 0x80 /* ECAP */ - 0x4843e180 0x4843e180 0x80 /* EQEP */ - 0x4843e200 0x4843e200 0x80>; /* EHRPWM */ - - /* child nodes go here */ -}; diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 6a4572a5e35f..098b4dd14b01 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1563,70 +1563,6 @@ clock-names = "fck", "sys_clk"; }; }; - - epwmss0: epwmss@4843e000 { - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss"; - reg = <0x4843e000 0x30>; - ti,hwmods = "epwmss0"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - ranges = <0x4843e100 0x4843e100 0x80 /* ECAP */ - 0x4843e180 0x4843e180 0x80 /* EQEP */ - 0x4843e200 0x4843e200 0x80>;/* EHRPWM */ - - ehrpwm0: ehrpwm@4843e200 { - compatible = "ti,dra7xx-ehrpwm", - "ti,am33xx-ehrpwm"; - #pwm-cells = <3>; - reg = <0x4843e200 0x80>; - ti,hwmods = "ehrpwm0"; - status = "disabled"; - }; - }; - - epwmss1: epwmss@48440000 { - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss"; - reg = <0x48440000 0x30>; - ti,hwmods = "epwmss1"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - ranges = <0x48440100 0x48440100 0x80 /* ECAP */ - 0x48440180 0x48440180 0x80 /* EQEP */ - 0x48440200 0x48440200 0x80>; /* EHRPWM */ - - ehrpwm1: ehrpwm@48440200 { - compatible = "ti,dra7xx-ehrpwm", - "ti,am33xx-ehrpwm"; - #pwm-cells = <3>; - reg = <0x48440200 0x80>; - ti,hwmods = "ehrpwm1"; - status = "disabled"; - }; - }; - - epwmss2: epwmss@48442000 { - compatible = "ti,dra7xx-pwmss", "ti,am33xx-pwmss"; - reg = <0x48442000 0x30>; - ti,hwmods = "epwmss2"; - #address-cells = <1>; - #size-cells = <1>; - status = "disabled"; - - ranges = <0x48442100 0x48442100 0x80 /* ECAP */ - 0x48442180 0x48442180 0x80 /* EQEP */ - 0x48442200 0x48442200 0x80>; /* EHRPWM */ - - ehrpwm2: ehrpwm@48442200 { - compatible = "ti,dra7xx-ehrpwm", - "ti,am33xx-ehrpwm"; - #pwm-cells = <3>; - reg = <0x48442200 0x80>; - ti,hwmods = "ehrpwm2"; - status = "disabled"; - }; - }; }; thermal_zones: thermal-zones {