* [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
@ 2021-07-13 9:47 ` Rafał Miłecki
0 siblings, 0 replies; 6+ messages in thread
From: Rafał Miłecki @ 2021-07-13 9:47 UTC (permalink / raw)
To: Lee Jones
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
From: Rafał Miłecki <rafal@milecki.pl>
CRU is a block used in e.g. Northstar devices. It can be seen in the
bcm5301x.dtsi and this binding documents its proper usage.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
---
V2: Use complete binding & change additionalProperties to false
V3: Use clock-controller@ for clocks
RESEND: Patch is ready for pushing now since 5.14-rc1 is out
Lee: last time I sent this patch you couldn't push it because of docs
validation dependency on 3 following commits:
ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
All above commits made it into the 5.14-rc1.
---
.../devicetree/bindings/mfd/brcm,cru.yaml | 86 +++++++++++++++++++
1 file changed, 86 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/brcm,cru.yaml
diff --git a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
new file mode 100644
index 000000000000..fc1317ab3226
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
@@ -0,0 +1,86 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/brcm,cru.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom CRU
+
+maintainers:
+ - Rafał Miłecki <rafal@milecki.pl>
+
+description: |
+ Broadcom CRU ("Clock and Reset Unit" or "Central Resource Unit") is a hardware
+ block grouping smaller blocks. On Broadcom Northstar platform it contains e.g.
+ clocks, pinctrl, USB PHY and thermal.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - brcm,ns-cru
+ - const: simple-mfd
+
+ reg:
+ description: CRU registers
+
+ ranges: true
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ pinctrl:
+ $ref: ../pinctrl/brcm,ns-pinmux.yaml
+
+patternProperties:
+ '^clock-controller@[a-f0-9]+$':
+ $ref: ../clock/brcm,iproc-clocks.yaml
+
+ '^thermal@[a-f0-9]+$':
+ $ref: ../thermal/brcm,ns-thermal.yaml
+
+additionalProperties: false
+
+required:
+ - reg
+
+examples:
+ - |
+ cru-bus@1800c100 {
+ compatible = "brcm,ns-cru", "simple-mfd";
+ reg = <0x1800c100 0x1d0>;
+ ranges;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ clock-controller@100 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-lcpll0";
+ reg = <0x100 0x14>;
+ clocks = <&osc>;
+ clock-output-names = "lcpll0", "pcie_phy", "sdio", "ddr_phy";
+ };
+
+ clock-controller@140 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-genpll";
+ reg = <0x140 0x24>;
+ clocks = <&osc>;
+ clock-output-names = "genpll", "phy", "ethernetclk", "usbclk",
+ "iprocfast", "sata1", "sata2";
+ };
+
+ pinctrl {
+ compatible = "brcm,bcm4708-pinmux";
+ offset = <0x1c0>;
+ };
+
+ thermal@2c0 {
+ compatible = "brcm,ns-thermal";
+ reg = <0x2c0 0x10>;
+ #thermal-sensor-cells = <0>;
+ };
+ };
--
2.26.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
@ 2021-07-13 9:47 ` Rafał Miłecki
0 siblings, 0 replies; 6+ messages in thread
From: Rafał Miłecki @ 2021-07-13 9:47 UTC (permalink / raw)
To: Lee Jones
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
From: Rafał Miłecki <rafal@milecki.pl>
CRU is a block used in e.g. Northstar devices. It can be seen in the
bcm5301x.dtsi and this binding documents its proper usage.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
---
V2: Use complete binding & change additionalProperties to false
V3: Use clock-controller@ for clocks
RESEND: Patch is ready for pushing now since 5.14-rc1 is out
Lee: last time I sent this patch you couldn't push it because of docs
validation dependency on 3 following commits:
ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
All above commits made it into the 5.14-rc1.
---
.../devicetree/bindings/mfd/brcm,cru.yaml | 86 +++++++++++++++++++
1 file changed, 86 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/brcm,cru.yaml
diff --git a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
new file mode 100644
index 000000000000..fc1317ab3226
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml
@@ -0,0 +1,86 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/brcm,cru.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom CRU
+
+maintainers:
+ - Rafał Miłecki <rafal@milecki.pl>
+
+description: |
+ Broadcom CRU ("Clock and Reset Unit" or "Central Resource Unit") is a hardware
+ block grouping smaller blocks. On Broadcom Northstar platform it contains e.g.
+ clocks, pinctrl, USB PHY and thermal.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - brcm,ns-cru
+ - const: simple-mfd
+
+ reg:
+ description: CRU registers
+
+ ranges: true
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ pinctrl:
+ $ref: ../pinctrl/brcm,ns-pinmux.yaml
+
+patternProperties:
+ '^clock-controller@[a-f0-9]+$':
+ $ref: ../clock/brcm,iproc-clocks.yaml
+
+ '^thermal@[a-f0-9]+$':
+ $ref: ../thermal/brcm,ns-thermal.yaml
+
+additionalProperties: false
+
+required:
+ - reg
+
+examples:
+ - |
+ cru-bus@1800c100 {
+ compatible = "brcm,ns-cru", "simple-mfd";
+ reg = <0x1800c100 0x1d0>;
+ ranges;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ clock-controller@100 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-lcpll0";
+ reg = <0x100 0x14>;
+ clocks = <&osc>;
+ clock-output-names = "lcpll0", "pcie_phy", "sdio", "ddr_phy";
+ };
+
+ clock-controller@140 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-genpll";
+ reg = <0x140 0x24>;
+ clocks = <&osc>;
+ clock-output-names = "genpll", "phy", "ethernetclk", "usbclk",
+ "iprocfast", "sata1", "sata2";
+ };
+
+ pinctrl {
+ compatible = "brcm,bcm4708-pinmux";
+ offset = <0x1c0>;
+ };
+
+ thermal@2c0 {
+ compatible = "brcm,ns-thermal";
+ reg = <0x2c0 0x10>;
+ #thermal-sensor-cells = <0>;
+ };
+ };
--
2.26.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
2021-07-13 9:47 ` Rafał Miłecki
@ 2021-08-16 5:14 ` Rafał Miłecki
-1 siblings, 0 replies; 6+ messages in thread
From: Rafał Miłecki @ 2021-08-16 5:14 UTC (permalink / raw)
To: Lee Jones
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
Hi Lee,
On 13.07.2021 11:47, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> CRU is a block used in e.g. Northstar devices. It can be seen in the
> bcm5301x.dtsi and this binding documents its proper usage.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
> V2: Use complete binding & change additionalProperties to false
> V3: Use clock-controller@ for clocks
> RESEND: Patch is ready for pushing now since 5.14-rc1 is out
>
> Lee: last time I sent this patch you couldn't push it because of docs
> validation dependency on 3 following commits:
> ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
> 08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
> 8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
>
> All above commits made it into the 5.14-rc1.
let me kindly ask you about this patch as I don't see it in the
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/log/?h=for-mfd-next
Could you send it to Linus with your upcoming 5.15 pull req, please?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
@ 2021-08-16 5:14 ` Rafał Miłecki
0 siblings, 0 replies; 6+ messages in thread
From: Rafał Miłecki @ 2021-08-16 5:14 UTC (permalink / raw)
To: Lee Jones
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
Hi Lee,
On 13.07.2021 11:47, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> CRU is a block used in e.g. Northstar devices. It can be seen in the
> bcm5301x.dtsi and this binding documents its proper usage.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
> V2: Use complete binding & change additionalProperties to false
> V3: Use clock-controller@ for clocks
> RESEND: Patch is ready for pushing now since 5.14-rc1 is out
>
> Lee: last time I sent this patch you couldn't push it because of docs
> validation dependency on 3 following commits:
> ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
> 08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
> 8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
>
> All above commits made it into the 5.14-rc1.
let me kindly ask you about this patch as I don't see it in the
https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/log/?h=for-mfd-next
Could you send it to Linus with your upcoming 5.15 pull req, please?
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
2021-07-13 9:47 ` Rafał Miłecki
@ 2021-08-16 13:12 ` Lee Jones
-1 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2021-08-16 13:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
On Tue, 13 Jul 2021, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> CRU is a block used in e.g. Northstar devices. It can be seen in the
> bcm5301x.dtsi and this binding documents its proper usage.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
> V2: Use complete binding & change additionalProperties to false
> V3: Use clock-controller@ for clocks
> RESEND: Patch is ready for pushing now since 5.14-rc1 is out
>
> Lee: last time I sent this patch you couldn't push it because of docs
> validation dependency on 3 following commits:
> ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
> 08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
> 8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
>
> All above commits made it into the 5.14-rc1.
> ---
> .../devicetree/bindings/mfd/brcm,cru.yaml | 86 +++++++++++++++++++
> 1 file changed, 86 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/brcm,cru.yaml
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU
@ 2021-08-16 13:12 ` Lee Jones
0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2021-08-16 13:12 UTC (permalink / raw)
To: Rafał Miłecki
Cc: Rob Herring, devicetree, linux-arm-kernel, Florian Fainelli,
Vivek Unune, bcm-kernel-feedback-list, Rafał Miłecki,
Rob Herring
On Tue, 13 Jul 2021, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> CRU is a block used in e.g. Northstar devices. It can be seen in the
> bcm5301x.dtsi and this binding documents its proper usage.
>
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Reviewed-by: Rob Herring <robh@kernel.org>
> ---
> V2: Use complete binding & change additionalProperties to false
> V3: Use clock-controller@ for clocks
> RESEND: Patch is ready for pushing now since 5.14-rc1 is out
>
> Lee: last time I sent this patch you couldn't push it because of docs
> validation dependency on 3 following commits:
> ac5f8197d15c ("dt-bindings: pinctrl: convert Broadcom Northstar to the json-schema")
> 08e9fdfbb224 ("dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema")
> 8f711f68cffd ("dt-bindings: clock: brcm, iproc-clocks: convert to the json-schema")
>
> All above commits made it into the 5.14-rc1.
> ---
> .../devicetree/bindings/mfd/brcm,cru.yaml | 86 +++++++++++++++++++
> 1 file changed, 86 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/brcm,cru.yaml
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-08-16 13:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 9:47 [PATCH V3 RESEND] dt-bindings: mfd: add Broadcom CRU Rafał Miłecki
2021-07-13 9:47 ` Rafał Miłecki
2021-08-16 5:14 ` Rafał Miłecki
2021-08-16 5:14 ` Rafał Miłecki
2021-08-16 13:12 ` Lee Jones
2021-08-16 13:12 ` Lee Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.