From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 713B9EE49AF for ; Sun, 20 Aug 2023 00:59:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjHTA7B (ORCPT ); Sat, 19 Aug 2023 20:59:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbjHTA6r (ORCPT ); Sat, 19 Aug 2023 20:58:47 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AA5C23F766 for ; Sat, 19 Aug 2023 11:35:31 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so31798141fa.3 for ; Sat, 19 Aug 2023 11:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692470129; x=1693074929; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YN1OpmCbaY81QbyPI9C85rcMVU0xABdKhrlhiE3u5AI=; b=gQVsr71trj0v6TnZbViu5KLlzO9r2799VjZoC9vzHe1mXxDJw/DxeApmhVFYNLrAXZ oW0ST51eoMROfOsyQtYWf1vheuYceSIZzlFyMRdgEm97ZYBHI0UrFQZKMc9CbPHWX0zw z++AnrETDHCRIPmVhEy6gzWVbBid/zXgRP6XmaTbD7zTMSohxPRDhF/I0cvhjKyRE+q+ G02eGi+xaLeP88JHBYavqUXJSdCPzr+PffwTuTwJDk7a06yn3ptH7gxAQaYCiAMWbyqy NWgC8yn9xxWmwjs+8OzFt88vsJeGRUf/UUQhjJjW8ohzAfXaTFNWfQqqfD5aV50qJ4pg R9tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692470129; x=1693074929; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YN1OpmCbaY81QbyPI9C85rcMVU0xABdKhrlhiE3u5AI=; b=dpJJzLugD3KvahdHqx2+KeOP8BqA583CxC244T+M+zN2796YjBZ1GxAHzr5lgHZknJ avwdeli2tnUrxDyJ5iV6gBWqJG8rz6wc85p620/bRHxrm4BIJihYcfKGy7Iwyife2gyU b9WVbJIMYyxmvl5axr28v5V4/Jrfb6SB6sUmQgexNktl/9Y6mSEiWICGBQus4qURaIPF Mefjc4YrPcPRi/z6jsQ4jCsAFg7Z6AqPjtuGYzk6UQf1P2iZqb0p1Bow7unbGk6hYAeg LbPKR6Ow92QtJpUlv7vH1A28pgkRYxn9t4QQTNySdFYFEqh5YS74TlcufEK1sn7hQajA 2qaQ== X-Gm-Message-State: AOJu0Yy7dxBx5KzHs4UcOfUI0Nh+DKTXbJqUAQInHXrNjrBMsEGKckU7 q2c6bBCLUXQyPF0oXYj//PT8dw== X-Google-Smtp-Source: AGHT+IHyIS3/rx1L8OgHE5RB+ScVHWoDpPgPFtw8VIbtYoEjUhFHSppkQ7zw42ytcZvQ8xvrMHk2RA== X-Received: by 2002:a2e:731a:0:b0:2bb:9710:9d99 with SMTP id o26-20020a2e731a000000b002bb97109d99mr1695872ljc.44.1692470129550; Sat, 19 Aug 2023 11:35:29 -0700 (PDT) Received: from [192.168.0.22] ([77.252.47.198]) by smtp.gmail.com with ESMTPSA id z1-20020a170906240100b0097073f1ed84sm3150266eja.4.2023.08.19.11.35.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Aug 2023 11:35:28 -0700 (PDT) Message-ID: <426d78d6-9fa6-bfeb-b36a-fba264097a27@linaro.org> Date: Sat, 19 Aug 2023 20:35:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH] dt-bindings: iio: adc: Add TI TWL603X GPADC Content-Language: en-US To: Andreas Kemnade , jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org References: <20230816202614.324457-1-andreas@kemnade.info> From: Krzysztof Kozlowski In-Reply-To: <20230816202614.324457-1-andreas@kemnade.info> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 16/08/2023 22:26, Andreas Kemnade wrote: > Document TI TWL603X GPADC devicetree bindings. > A driver is already there, the compatibles are used, but not documented. > Use two separate files to reference only the allowed compatible in > a future YAML version of > Documentation/devicetree/bindings/mfd/twl-family.txt > > Signed-off-by: Andreas Kemnade > --- Thank you for your patch. There is something to discuss/improve. > .../bindings/iio/adc/ti,twl6030-gpadc.yaml | 42 +++++++++++++++++++ > .../bindings/iio/adc/ti,twl6032-gpadc.yaml | 42 +++++++++++++++++++ > 2 files changed, 84 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml > create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,twl6032-gpadc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml b/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml > new file mode 100644 > index 000000000000..08bc0468f616 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/ti,twl6030-gpadc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: GPADC subsystem in the TWL6030 power module > + > +maintainers: > + - Jonathan Cameron This should be rather someone knowing or having or caring about this particular hardware, not subsystem maintainer. > + > +description: > + The GPADC subsystem in the TWL6030 consists of a 10-bit ADC > + combined with a 15-input analog multiplexer. > + > +properties: > + compatible: > + const: ti,twl6030-gpadc Devices look fairly similar. Same properties. Why aren't they in one binding (enum here instead)? Best regards, Krzysztof