All of lore.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Cosmo Chou <chou.cosmo@gmail.com>
Cc: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	corbet@lwn.net, heiko@sntech.de, jernej.skrabec@gmail.com,
	macromorgan@hotmail.com, linus.walleij@linaro.org,
	linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	cosmo.chou@quantatw.com
Subject: Re: [PATCH 2/3] dt-bindings: hwmon: pt516xx: add bindings
Date: Tue, 5 Dec 2023 16:46:42 +0000	[thread overview]
Message-ID: <20231205-moneyless-hash-202129b0c636@spud> (raw)
In-Reply-To: <20231205074723.3546295-3-chou.cosmo@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

On Tue, Dec 05, 2023 at 03:47:22PM +0800, Cosmo Chou wrote:
> Add dt-bindings for pt516xx temperature monitor.
> 
> Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>

This can just go into trivial-devices.yaml, no?

Thanks,
Conor.

> ---
>  .../bindings/hwmon/asteralabs,pt516xx.yaml    | 36 +++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml b/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml
> new file mode 100644
> index 000000000000..5700d4c91a0d
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/asteralabs,pt516xx.yaml
> @@ -0,0 +1,36 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/asteralabs,pt516xx.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: PT5161L hwmon sensor
> +
> +maintainers:
> +  - Cosmo Chou <cosmo.chou@quantatw.com>
> +
> +properties:
> +  compatible:
> +    enum:
> +      - asteralabs,pt5161l
> +
> +  reg:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    i2c {
> +      #address-cells = <1>;
> +      #size-cells = <0>;
> +
> +      sensor@24 {
> +        compatible = "asteralabs,pt5161l";
> +        reg = <0x24>;
> +      };
> +    };
> -- 
> 2.34.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-12-05 16:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05  7:47 [PATCH 0/3] hwmon: Add driver for Astera Labs PT516XX retimer Cosmo Chou
2023-12-05  7:47 ` [PATCH 1/3] dt-bindings: vendor-prefixes: add asteralabs Cosmo Chou
2023-12-05 16:45   ` Conor Dooley
2023-12-05  7:47 ` [PATCH 2/3] dt-bindings: hwmon: pt516xx: add bindings Cosmo Chou
2023-12-05 16:46   ` Conor Dooley [this message]
2023-12-06  8:02     ` Cosmo Chou
2023-12-05  7:47 ` [PATCH 3/3] hwmon: Add driver for Astera Labs PT516XX retimer Cosmo Chou
2023-12-05 15:55   ` Guenter Roeck
2023-12-09  8:02     ` Cosmo Chou
2023-12-05 23:24   ` kernel test robot
2023-12-11 17:43   ` Rob Herring
2023-12-05 14:45 ` [PATCH 0/3] " Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231205-moneyless-hash-202129b0c636@spud \
    --to=conor@kernel.org \
    --cc=chou.cosmo@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=cosmo.chou@quantatw.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=jdelvare@suse.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=macromorgan@hotmail.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.