Re: [PATCH 02/16] rockchip: rk3308: Remove redundant device tree files
On 2024/5/5 03:42, Jonas Karlman wrote: Remove redundant device tree files now that RK3308 boards have been migrated to use OF_UPSTREAM. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3308-evb.dts| 230 --- arch/arm/dts/rk3308-roc-cc.dts | 190 --- arch/arm/dts/rk3308-rock-pi-s.dts | 314 arch/arm/dts/rk3308.dtsi | 1888 include/dt-bindings/clock/rk3308-cru.h | 387 - 5 files changed, 3009 deletions(-) delete mode 100644 arch/arm/dts/rk3308-evb.dts delete mode 100644 arch/arm/dts/rk3308-roc-cc.dts delete mode 100644 arch/arm/dts/rk3308-rock-pi-s.dts delete mode 100644 arch/arm/dts/rk3308.dtsi delete mode 100644 include/dt-bindings/clock/rk3308-cru.h diff --git a/arch/arm/dts/rk3308-evb.dts b/arch/arm/dts/rk3308-evb.dts deleted file mode 100644 index 184b84fdde07.. --- a/arch/arm/dts/rk3308-evb.dts +++ /dev/null @@ -1,230 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd - * - */ - -/dts-v1/; -#include -#include "rk3308.dtsi" - -/ { - model = "Rockchip RK3308 EVB"; - compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; - - chosen { - stdout-path = "serial4:150n8"; - }; - - adc-keys0 { - compatible = "adc-keys"; - io-channels = < 0>; - io-channel-names = "buttons"; - poll-interval = <100>; - keyup-threshold-microvolt = <180>; - - button-func { - linux,code = ; - label = "function"; - press-threshold-microvolt = <18000>; - }; - }; - - adc-keys1 { - compatible = "adc-keys"; - io-channels = < 1>; - io-channel-names = "buttons"; - poll-interval = <100>; - keyup-threshold-microvolt = <180>; - - button-esc { - linux,code = ; - label = "micmute"; - press-threshold-microvolt = <113>; - }; - - button-home { - linux,code = ; - label = "mode"; - press-threshold-microvolt = <901000>; - }; - - button-menu { - linux,code = ; - label = "play"; - press-threshold-microvolt = <624000>; - }; - - button-down { - linux,code = ; - label = "volume down"; - press-threshold-microvolt = <30>; - }; - - button-up { - linux,code = ; - label = "volume up"; - press-threshold-microvolt = <18000>; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - - pinctrl-names = "default"; - pinctrl-0 = <_key>; - - key-power { - gpios = < RK_PA6 GPIO_ACTIVE_LOW>; - linux,code = ; - label = "GPIO Key Power"; - debounce-interval = <100>; - wakeup-source; - }; - }; - - vcc12v_dcin: vcc12v-dcin { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-min-microvolt = <1200>; - regulator-max-microvolt = <1200>; - regulator-always-on; - regulator-boot-on; - }; - - vcc5v0_sys: vcc5v0-sys { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-min-microvolt = <500>; - regulator-max-microvolt = <500>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_dcin>; - }; - - vccio_sdio: vcc_1v8: vcc-1v8 { - compatible = "regulator-fixed"; - regulator-name = "vcc_1v8"; - regulator-min-microvolt = <180>; - regulator-max-microvolt = <180>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_io>; - }; - - vcc_ddr: vcc-ddr { - compatible = "regulator-fixed"; - regulator-name = "vcc_ddr"; - regulator-min-microvolt = <150>; - regulator-max-microvolt = <150>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_sys>; - }; - - vcc_io: vcc-io { - compatible = "regulator-fixed"; - regulator-name = "vcc_io";
[PATCH 02/16] rockchip: rk3308: Remove redundant device tree files
Remove redundant device tree files now that RK3308 boards have been migrated to use OF_UPSTREAM. Signed-off-by: Jonas Karlman --- arch/arm/dts/rk3308-evb.dts| 230 --- arch/arm/dts/rk3308-roc-cc.dts | 190 --- arch/arm/dts/rk3308-rock-pi-s.dts | 314 arch/arm/dts/rk3308.dtsi | 1888 include/dt-bindings/clock/rk3308-cru.h | 387 - 5 files changed, 3009 deletions(-) delete mode 100644 arch/arm/dts/rk3308-evb.dts delete mode 100644 arch/arm/dts/rk3308-roc-cc.dts delete mode 100644 arch/arm/dts/rk3308-rock-pi-s.dts delete mode 100644 arch/arm/dts/rk3308.dtsi delete mode 100644 include/dt-bindings/clock/rk3308-cru.h diff --git a/arch/arm/dts/rk3308-evb.dts b/arch/arm/dts/rk3308-evb.dts deleted file mode 100644 index 184b84fdde07.. --- a/arch/arm/dts/rk3308-evb.dts +++ /dev/null @@ -1,230 +0,0 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd - * - */ - -/dts-v1/; -#include -#include "rk3308.dtsi" - -/ { - model = "Rockchip RK3308 EVB"; - compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; - - chosen { - stdout-path = "serial4:150n8"; - }; - - adc-keys0 { - compatible = "adc-keys"; - io-channels = < 0>; - io-channel-names = "buttons"; - poll-interval = <100>; - keyup-threshold-microvolt = <180>; - - button-func { - linux,code = ; - label = "function"; - press-threshold-microvolt = <18000>; - }; - }; - - adc-keys1 { - compatible = "adc-keys"; - io-channels = < 1>; - io-channel-names = "buttons"; - poll-interval = <100>; - keyup-threshold-microvolt = <180>; - - button-esc { - linux,code = ; - label = "micmute"; - press-threshold-microvolt = <113>; - }; - - button-home { - linux,code = ; - label = "mode"; - press-threshold-microvolt = <901000>; - }; - - button-menu { - linux,code = ; - label = "play"; - press-threshold-microvolt = <624000>; - }; - - button-down { - linux,code = ; - label = "volume down"; - press-threshold-microvolt = <30>; - }; - - button-up { - linux,code = ; - label = "volume up"; - press-threshold-microvolt = <18000>; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - autorepeat; - - pinctrl-names = "default"; - pinctrl-0 = <_key>; - - key-power { - gpios = < RK_PA6 GPIO_ACTIVE_LOW>; - linux,code = ; - label = "GPIO Key Power"; - debounce-interval = <100>; - wakeup-source; - }; - }; - - vcc12v_dcin: vcc12v-dcin { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-min-microvolt = <1200>; - regulator-max-microvolt = <1200>; - regulator-always-on; - regulator-boot-on; - }; - - vcc5v0_sys: vcc5v0-sys { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-min-microvolt = <500>; - regulator-max-microvolt = <500>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_dcin>; - }; - - vccio_sdio: vcc_1v8: vcc-1v8 { - compatible = "regulator-fixed"; - regulator-name = "vcc_1v8"; - regulator-min-microvolt = <180>; - regulator-max-microvolt = <180>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_io>; - }; - - vcc_ddr: vcc-ddr { - compatible = "regulator-fixed"; - regulator-name = "vcc_ddr"; - regulator-min-microvolt = <150>; - regulator-max-microvolt = <150>; - regulator-always-on; - regulator-boot-on; - vin-supply = <_sys>; - }; - - vcc_io: vcc-io { - compatible = "regulator-fixed"; - regulator-name = "vcc_io"; - regulator-min-microvolt = <330>; - regulator-max-microvolt =