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 61715C00145 for ; Thu, 15 Dec 2022 08:42:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbiLOImr (ORCPT ); Thu, 15 Dec 2022 03:42:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbiLOImi (ORCPT ); Thu, 15 Dec 2022 03:42:38 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF9243B9D6 for ; Thu, 15 Dec 2022 00:42:36 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id q6so14522591lfm.10 for ; Thu, 15 Dec 2022 00:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ghZrTLqof/7uXaABRC9VXiX8vno10E0SDlDFHThQ0JQ=; b=IvbGhfYRcE9Ej4dgWstBSKGExQ0XadtXWMI/RukqZQSVvCNvQTzZB9WsYKHbgr6rmf W5wfv5GxT5Z/KczEmWarounmcphhsdE0qSZs15jchtAHKFeqsMnia64ej1m42NH2Cjwd ZU+qIS4F+YUrYdpDPhk0kLvSwp3ofkm32rnfEGxE7I+q7ULnNCPv/d3fWpfam/vVowg4 EMwEYC9fAz+NZLFlvoICOn9QMOG5dYnLsw0zyCCUEKTsGwatsG9X13jCM8ZdnJGtTv7C GWUoq3UUqF6P6TE1VldZCZs4Fw6r+bhfsUB7G04qIWM2Fi3Oll5AhYBKfT+rnQPVkZnr 1rfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc: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=ghZrTLqof/7uXaABRC9VXiX8vno10E0SDlDFHThQ0JQ=; b=SOmfPAmdap3CFlQVnjwE/o2p+4EkECDZxYvUfQjYiHPyE9lrLdUTfYIQ+SlcmrNRGa 0ML6QCVvBEksd5mmEpTLdELoQ/QIXmh5Fv5tr7GIAwo039Cde06xfrWyQSz7aeMLtDFV myDWIKj6tA2vjrA4oZcp06lhPT0YjNgcXihTiOnMgKyLIQe4G9irNSOJqGxIgHdBUyhr ob+WnU4Vx/EbOFzUtke2zw/raGlelwGlAsq6OqI1TNf4tn1vRbxk6aX+NnOcCTerXnM7 GW11xTbMoqwAo6wlnkZMZ2AADOYYE+gKYYQszBgHs3ARQFLfei/DXFU+QKFyMnuIYhLa kGsA== X-Gm-Message-State: ANoB5pmUfrn2pbc8tmNaPtyWxhg/ojs65I0HcwFcroUmrklnkTAnobJT wJg1vnx7dvAUdunYsTVVBKPMow== X-Google-Smtp-Source: AA0mqf6XangecSmY0mz5fiU3fBRv5zdhvdBpprxnLqLecZduE7R5QbWLtR7/ZzJ6CDB+ScTNFb4vkA== X-Received: by 2002:a05:6512:6d1:b0:4a4:7cab:3bad with SMTP id u17-20020a05651206d100b004a47cab3badmr9144434lff.28.1671093755306; Thu, 15 Dec 2022 00:42:35 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id j1-20020a056512344100b004b48cc444ccsm1114148lfr.100.2022.12.15.00.42.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 00:42:34 -0800 (PST) Message-ID: <8bb988fc-54d2-2528-e34f-0097c0654b7d@linaro.org> Date: Thu, 15 Dec 2022 09:42:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: ep93xx: Add cirrus,ep9301-adc description Content-Language: en-US To: Alexander Sverdlin , linux-iio@vger.kernel.org Cc: Hartley Sweeten , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221214222024.951984-1-alexander.sverdlin@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221214222024.951984-1-alexander.sverdlin@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On 14/12/2022 23:20, Alexander Sverdlin wrote: > Add device tree bindings for Cirrus Logic EP9301/EP9302 internal SoCs' ADC > block. > > Signed-off-by: Alexander Sverdlin > --- > .../bindings/iio/adc/cirrus,ep9301-adc.yaml | 58 +++++++++++++++++++ > MAINTAINERS | 2 + > 2 files changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml b/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > new file mode 100644 > index 000000000000..d0fd24d1be04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logic EP930x internal ADC > + > +description: | > + Cirrus Logic EP9301/EP9302 SoCs' internal ADC block. > + > + User's manual: > + https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf > + > +maintainers: > + - Alexander Sverdlin > + > +properties: > + compatible: > + const: cirrus,ep9301-adc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: ep93xx-adc One entry with same name as device is not really useful, so maybe just drop it? > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + soc { > + #address-cells = <1>; > + #size-cells = <1>; I think you do not need the soc node as examples are built with address/size-cells=1 Best regards, Krzysztof 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3C34C4332F for ; Thu, 15 Dec 2022 08:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e6TVGuXkp2fw/+z87/3/oZM/GhaGD0HpsxJNohKtuyk=; b=e5BECcAzGjq0+Q ieZ3Upjt18Cq+IxCtplZtNhTh12HInmTXLF0h9cPrclejWqNgIyK/TJvNxZ9ho9EQJnoHDKRE2RiZ oQhUoM4xHasUuQcHU7r4PQ9BVpjlc4TvZW29FNSej05o1Z+p3XYDEGpOQHoSevdI8/j1byuNV0fVZ 0fOgUbVJR9M/tw7vXZdOj8mLXRhcYZBXSPFDPsAwoX4h4Ct+uHq3dzr8V7lJjraUmu8DPnUhY0Amk bz77nXj/7U9FYtoG2U/gFzpO5Bm0+LX6f06Cofrhc52BZIq6qZP27HAYuxUIf6kD6E78k6vDtjDH0 jr3cSVYEtaGvduk/7Nfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5jpE-007osk-4Z; Thu, 15 Dec 2022 08:42:44 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5jp9-007oo7-Tj for linux-arm-kernel@lists.infradead.org; Thu, 15 Dec 2022 08:42:41 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 1so14587345lfz.4 for ; Thu, 15 Dec 2022 00:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ghZrTLqof/7uXaABRC9VXiX8vno10E0SDlDFHThQ0JQ=; b=IvbGhfYRcE9Ej4dgWstBSKGExQ0XadtXWMI/RukqZQSVvCNvQTzZB9WsYKHbgr6rmf W5wfv5GxT5Z/KczEmWarounmcphhsdE0qSZs15jchtAHKFeqsMnia64ej1m42NH2Cjwd ZU+qIS4F+YUrYdpDPhk0kLvSwp3ofkm32rnfEGxE7I+q7ULnNCPv/d3fWpfam/vVowg4 EMwEYC9fAz+NZLFlvoICOn9QMOG5dYnLsw0zyCCUEKTsGwatsG9X13jCM8ZdnJGtTv7C GWUoq3UUqF6P6TE1VldZCZs4Fw6r+bhfsUB7G04qIWM2Fi3Oll5AhYBKfT+rnQPVkZnr 1rfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc: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=ghZrTLqof/7uXaABRC9VXiX8vno10E0SDlDFHThQ0JQ=; b=QkQftLl7zq69ehiVCy9OuXKaBWrxRQQWpW7v8Zfj1/uo8nHsVe8tF1ZVdc3FT3+J7+ rfioJloMFxTZSQhwPDSxoh9q2Ptmu8CP3OZXokOOBET/zf5d8iuvWJgu/cCZZ5Xkj5Ki dgxcGpmBk2CaNVSU5iu8vtpERsvh1mmv/9ZIla2SJfsA2h6TXpE59t6q8gJLUmK5JxhR ne47fVUyScwwDs2ASiyUZiFAfBDYIW/NzJCvzDbqNlhV4iHBi1q0TwNiOVRHJoY28pbn 2yb0XtugXfn05CGmxjd+6qBBK4SfXx/zpazDy3n04BEdLgHoOvRLj1THcG/eXaf4fl/9 2GBw== X-Gm-Message-State: ANoB5pn976BYuvDkDbnKeZpbtO38no70Hgi00Vf/exua1fFieqNGjZer fLXa1Z2og4mEZzmsvKcj6UOt1Q== X-Google-Smtp-Source: AA0mqf6XangecSmY0mz5fiU3fBRv5zdhvdBpprxnLqLecZduE7R5QbWLtR7/ZzJ6CDB+ScTNFb4vkA== X-Received: by 2002:a05:6512:6d1:b0:4a4:7cab:3bad with SMTP id u17-20020a05651206d100b004a47cab3badmr9144434lff.28.1671093755306; Thu, 15 Dec 2022 00:42:35 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id j1-20020a056512344100b004b48cc444ccsm1114148lfr.100.2022.12.15.00.42.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 00:42:34 -0800 (PST) Message-ID: <8bb988fc-54d2-2528-e34f-0097c0654b7d@linaro.org> Date: Thu, 15 Dec 2022 09:42:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: ep93xx: Add cirrus,ep9301-adc description Content-Language: en-US To: Alexander Sverdlin , linux-iio@vger.kernel.org Cc: Hartley Sweeten , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221214222024.951984-1-alexander.sverdlin@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221214222024.951984-1-alexander.sverdlin@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221215_004239_997807_8945AC7C X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 14/12/2022 23:20, Alexander Sverdlin wrote: > Add device tree bindings for Cirrus Logic EP9301/EP9302 internal SoCs' ADC > block. > > Signed-off-by: Alexander Sverdlin > --- > .../bindings/iio/adc/cirrus,ep9301-adc.yaml | 58 +++++++++++++++++++ > MAINTAINERS | 2 + > 2 files changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml b/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > new file mode 100644 > index 000000000000..d0fd24d1be04 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/cirrus,ep9301-adc.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cirrus Logic EP930x internal ADC > + > +description: | > + Cirrus Logic EP9301/EP9302 SoCs' internal ADC block. > + > + User's manual: > + https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf > + > +maintainers: > + - Alexander Sverdlin > + > +properties: > + compatible: > + const: cirrus,ep9301-adc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: ep93xx-adc One entry with same name as device is not really useful, so maybe just drop it? > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + soc { > + #address-cells = <1>; > + #size-cells = <1>; I think you do not need the soc node as examples are built with address/size-cells=1 Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel