Re: [PATCH 6/6] dt-bindings: hwmon: jedec,jc42: add nxp,se97b

From: Rob Herring
Date: Thu Sep 23 2021 - 17:17:02 EST


On Mon, Sep 20, 2021 at 08:21:14PM +0200, Krzysztof Kozlowski wrote:
> Document bindings for NXP SE97B, a DDR memory module temperature sensor
> with integrated SPD and EEPROM via Atmel's AT24 interface.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml b/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml
> index a7bb4e3a1c46..0e49b3901161 100644
> --- a/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/jedec,jc42.yaml
> @@ -10,6 +10,14 @@ maintainers:
> - Jean Delvare <jdelvare@xxxxxxxx>
> - Guenter Roeck <linux@xxxxxxxxxxxx>
>
> +select:
> + properties:
> + compatible:
> + const: jedec,jc-42.4-temp
> +
> + required:
> + - compatible
> +

Is this supposed to be in the last patch? And why is it needed?

> properties:
> compatible:
> oneOf:
> @@ -31,6 +39,7 @@ properties:
> - microchip,mcp98244
> - microchip,mcp9843
> - nxp,se97
> + - nxp,se97b
> - nxp,se98
> - onnn,cat6095
> - onnn,cat34ts02
> --
> 2.30.2
>
>