doc: remove redundant Rockchip bindings
PATCH 1/1 doc: remove redundant Rockchip bindings
Most Rockchip device tree related bindings are converted to YAML and available in the U-boot /dts/upstream/Bindings/ directory. Remove all redundant U-boot entries.
--- .../clock/rockchip,rk3188-cru.txt | 61 ------- .../clock/rockchip,rk3288-cru.txt | 61 ------- doc/device-tree-bindings/clock/rockchip.txt | 77 --------- .../pinctrl/rockchip,pinctrl.txt | 157 ------------------ .../thermal/rockchip-thermal.txt | 68 -------- doc/device-tree-bindings/usb/dwc2.txt | 4 - .../video/rockchip-lvds.txt | 77 --------- 7 files changed, 505 deletions(-) delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3188-cru.txt delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3288-cru.txt delete mode 100644 doc/device-tree-bindings/clock/rockchip.txt delete mode 100644 doc/device-tree-bindings/pinctrl/rockchip,pinctrl.txt delete mode 100644 doc/device-tree-bindings/thermal/rockchip-thermal.txt delete mode 100644 doc/device-tree-bindings/video/rockchip-lvds.txt
doc/device-tree-bindings/clock/rockchip,rk3188-cru.txt deleted +0 -61
@@ -1,61 +0,0 @@ -* Rockchip RK3188/RK3066 Clock and Reset Unit - -The RK3188/RK3066 clock controller generates and supplies clock to various -controllers within the SoC and also implements a reset controller for SoC -peripherals. - -Required Properties: - -- compatible: should be "rockchip,rk3188-cru", "rockchip,rk3188a-cru" or - "rockchip,rk3066a-cru" -- reg: physical base address of the controller and length of memory mapped - region. -- #clock-cells: should be 1. -- #reset-cells: should be 1. - -Optional Properties: - -- rockchip,grf: phandle to the syscon managing the "general register files" - If missing pll rates are not changable, due to the missing pll lock status. - -Each clock is assigned an identifier and client nodes can use this identifier -to specify the clock which they consume. All available clocks are defined as -preprocessor macros in the dt-bindings/clock/rk3188-cru.h and -dt-bindings/clock/rk3066-cru.h headers and can be used in device tree sources. -Similar macros exist for the reset sources in these files. - -External clocks: - -There are several clocks that are generated outside the SoC. It is expected -that they are defined using standard clock bindings with following -clock-output-names: - - "xin24m" - crystal input - required, - - "xin32k" - rtc clock - optional, - - "xin27m" - 27mhz crystal input on rk3066 - optional, - - "ext_hsadc" - external HSADC clock - optional, - - "ext_cif0" - external camera clock - optional, - - "ext_rmii" - external RMII clock - optional, - - "ext_jtag" - externalJTAG clock - optional - -Example: Clock controller node: - - cru: cru@20000000 { - compatible = "rockchip,rk3188-cru"; - reg = <0x20000000 0x1000>; - rockchip,grf = <&grf>; - - #clock-cells = <1>; - #reset-cells = <1>; - }; - -Example: UART controller node that consumes the clock generated by the clock - controller: - - uart0: serial@10124000 { - compatible = "snps,dw-apb-uart"; - reg = <0x10124000 0x400>; - interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; - reg-shift = <2>; - reg-io-width = <1>; - clocks = <&cru SCLK_UART0>; - };
doc/device-tree-bindings/clock/rockchip,rk3288-cru.txt deleted +0 -61
61 lines not on this page · raw message
doc/device-tree-bindings/clock/rockchip.txt deleted +0 -77
77 lines not on this page · raw message
doc/device-tree-bindings/pinctrl/rockchip,pinctrl.txt deleted +0 -157
157 lines not on this page · raw message
doc/device-tree-bindings/thermal/rockchip-thermal.txt deleted +0 -68
68 lines not on this page · raw message
doc/device-tree-bindings/usb/dwc2.txt +0 -4
@@ -5,10 +5,6 @@ Required properties: - compatible : One of: - brcm,bcm2835-usb: The DWC2 USB controller instance in the BCM2835 SoC. - hisilicon,hi6220-usb: The DWC2 USB controller instance in the hi6220 SoC. - - rockchip,rk3066-usb: The DWC2 USB controller instance in the rk3066 Soc; - - "rockchip,px30-usb", "rockchip,rk3066-usb", "snps,dwc2": for px30 Soc; - - "rockchip,rk3188-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3188 Soc; - - "rockchip,rk3288-usb", "rockchip,rk3066-usb", "snps,dwc2": for rk3288 Soc; - "lantiq,arx100-usb": The DWC2 USB controller instance in Lantiq ARX SoCs; - "lantiq,xrx200-usb": The DWC2 USB controller instance in Lantiq XRX SoCs; - "amlogic,meson8-usb": The DWC2 USB controller instance in Amlogic Meson8 SoCs;
doc/device-tree-bindings/video/rockchip-lvds.txt deleted +0 -77
77 lines not on this page · raw message
--
2.39.5
Hi Johan,
Quoted 5 lines · Johan Jonker
Most Rockchip device tree related bindings are converted to YAML and available in the U-boot /dts/upstream/Bindings/ directory. Remove all redundant U-boot entries.
Signed-off-by Johan Jonker <[email protected]>
Quoted 11 lines
--- .../clock/rockchip,rk3188-cru.txt | 61 ------- .../clock/rockchip,rk3288-cru.txt | 61 ------- doc/device-tree-bindings/clock/rockchip.txt | 77 --------- .../pinctrl/rockchip,pinctrl.txt | 157 ------------------ .../thermal/rockchip-thermal.txt | 68 -------- doc/device-tree-bindings/usb/dwc2.txt | 4 - .../video/rockchip-lvds.txt | 77 --------- 7 files changed, 505 deletions(-) delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3188-cru.txt delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3288-cru.txt
The rockchip,rk3288-cru.txt file is also removed in:
rockchip: rk3288: Use rk3288-cru.h from dts/upstream
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Regards,
Jonas
Quoted 4 lines
delete mode 100644 doc/device-tree-bindings/clock/rockchip.txt delete mode 100644 doc/device-tree-bindings/pinctrl/rockchip,pinctrl.txt delete mode 100644 doc/device-tree-bindings/thermal/rockchip-thermal.txt delete mode 100644 doc/device-tree-bindings/video/rockchip-lvds.txt
[snip]
Quoted 21 lines · Jonas Karlman
Hi Johan,
Quoted 5 lines · Johan Jonker
Most Rockchip device tree related bindings are converted to YAML and available in the U-boot /dts/upstream/Bindings/ directory. Remove all redundant U-boot entries.
Signed-off-by Johan Jonker <[email protected]>Quoted 11 lines
--- .../clock/rockchip,rk3188-cru.txt | 61 ------- .../clock/rockchip,rk3288-cru.txt | 61 ------- doc/device-tree-bindings/clock/rockchip.txt | 77 --------- .../pinctrl/rockchip,pinctrl.txt | 157 ------------------ .../thermal/rockchip-thermal.txt | 68 -------- doc/device-tree-bindings/usb/dwc2.txt | 4 - .../video/rockchip-lvds.txt | 77 --------- 7 files changed, 505 deletions(-) delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3188-cru.txt delete mode 100644 doc/device-tree-bindings/clock/rockchip,rk3288-cru.txt
Quoted 4 lines
The rockchip,rk3288-cru.txt file is also removed in:
rockchip: rk3288: Use
rk3288-cru.hfrom dts/upstream
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
I'm neutral here, up to the maintainers.
As long as we get rid of it.
If I'm a little more strict I would say that the commit message/title must match the action. They always say one action at the time.
So when a title says "Use rk3288-cru.h ..." and something else as well...
Just to let you know I plan to do something similar to rk3066/rk3166.
Johan
===
1:
Could someone add mmc aliases to rk3288.dtsi in mainline and remove the mshc ones?
2:
Could these boards upgrade upstream as well?
http://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
http://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Quoted 10 lines
Regards,
JonasQuoted 4 lines
delete mode 100644 doc/device-tree-bindings/clock/rockchip.txt delete mode 100644 doc/device-tree-bindings/pinctrl/rockchip,pinctrl.txt delete mode 100644 doc/device-tree-bindings/thermal/rockchip-thermal.txt delete mode 100644 doc/device-tree-bindings/video/rockchip-lvds.txt[snip]