arm64: dts: mediatek: mt7622: readd syscon to pciesys node
Subsystems (4)
PATCH 1/2 arm64: dts: mediatek: mt7622: readd syscon to pciesys node
Sata node reference the pciesys with the property mediatek,phy-node and that is used as a syscon to access the pciesys regs.
Readd the syscon compatible to pciesys node to restore correct functionality of the SATA interface.
--- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt7622.dtsi +1 -1
@@ -790,7 +790,7 @@ u2port1: usb-phy@1a0c5000 { }; pciesys: clock-controller@1a100800 { - compatible = "mediatek,mt7622-pciesys"; + compatible = "mediatek,mt7622-pciesys", "syscon"; reg = <0 0x1a100800 0 0x1000>; #clock-cells = <1>; #reset-cells = <1>;
Signature · 1 line
2.45.1
PATCH 2/2 dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
Add required syscon compatible for mt7622 pciesys. This is required for SATA interface as the regs are shared.
--- .../bindings/clock/mediatek,mt7622-pciesys.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.yaml +5 -3
@@ -14,9 +14,11 @@ maintainers: properties: compatible: - enum: - - mediatek,mt7622-pciesys - - mediatek,mt7629-pciesys + oneOf: + - items: + - const: mediatek,mt7622-pciesys + - const: syscon + - const: mediatek,mt7629-pciesys reg: maxItems: 1
Signature · 1 line
2.45.1
Rob Herring (Arm)
maintainerRe: [PATCH 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
Quoted 8 lines · Christian Marangi
Add required syscon compatible for mt7622 pciesys. This is required for SATA interface as the regs are shared.
Signed-off-by Christian Marangi <[email protected]>--- .../bindings/clock/mediatek,mt7622-pciesys.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.example.dtb: clock-controller@1a100800: compatible: 'oneOf' conditional failed, one must be fixed:
['mediatek,mt7622-pciesys'] is too short
'mediatek,mt7629-pciesys' was expected
from schema $id: http://devicetree.org/schemas/clock/mediatek,mt7622-pciesys.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]
The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.