Re: [PATCH 1/3] dt-bindings: clock: Add ESWIN eic7700 HSP clock and reset generator

From: Krzysztof Kozlowski

Date: Sun Apr 05 2026 - 03:25:11 EST


On Fri, Apr 03, 2026 at 05:35:48PM +0800, dongxuyang@xxxxxxxxxxxxxxxxxx wrote:
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: HSP configuration top clock
> + - description: MMC top clock
> + - description: SATA top clock
> +
> + clock-names:
> + items:
> + - const: hsp_cfg
> + - const: hsp_mmc
> + - const: hsp_sata

Drop hsp_ everywhere

> +
> + '#clock-cells':
> + const: 1
> + description:
> + See <dt-bindings/clock/eswin,eic7700-hspcrg.h> for valid indices.
> +
> + '#reset-cells':
> + const: 1
> + description:
> + See <dt-bindings/reset/eswin,eic7700-hspcrg.h> for valid indices.
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - '#clock-cells'
> + - '#reset-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + clock-controller@50440000 {
> + compatible = "eswin,eic7700-hspcrg";
> + reg = <0x50440000 0x2000>;
> + clocks = <&clock 171>, <&clock 254>, <&clock 187>;
> + clock-names = "hsp_cfg", "hsp_mmc", "hsp_sata";
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 76e91d47d2f4..bcbb9578c043 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9506,8 +9506,11 @@ M: Yifeng Huang <huangyifeng@xxxxxxxxxxxxxxxxxx>
> M: Xuyang Dong <dongxuyang@xxxxxxxxxxxxxxxxxx>
> S: Maintained
> F: Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml
> +F: Documentation/devicetree/bindings/clock/eswin,eic7700-hspcrg.yaml
> F: drivers/clk/eswin/
> F: include/dt-bindings/clock/eswin,eic7700-clock.h
> +F: include/dt-bindings/clock/eswin,eic7700-hspcrg.h

Why this cannot be eswin,eic7700* pattern in each directory?

> +F: include/dt-bindings/reset/eswin,eic7700-hspcrg.h
>
> ET131X NETWORK DRIVER
> M: Mark Einon <mark.einon@xxxxxxxxx>
> diff --git a/include/dt-bindings/clock/eswin,eic7700-hspcrg.h b/include/dt-bindings/clock/eswin,eic7700-hspcrg.h

Best regards,
Krzysztof