Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp13083pxv; Wed, 21 Jul 2021 14:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVSnD7iimS9g/1k9ltPwdlpAjj+Yuz2GPCteM/c7B0cbAhqGQxcvzyaayIEMkA6bH8pQY7 X-Received: by 2002:a5e:930e:: with SMTP id k14mr28230607iom.136.1626901575453; Wed, 21 Jul 2021 14:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626901575; cv=none; d=google.com; s=arc-20160816; b=Mt6T/d/2c/TyFYBgZq5imJN/3bpJkC4cZwpTnGL9DMbpf+MdALaIKNMAF5tgj082/G xvs2sJYuvlGTudcUcJQYJ8PFFQC05Tucp+6mRMizoFAapJrUlkjtHlCeN0Az1a25RHh8 pvPq+xvHC9tW5SK2zlsdxFhGvCIUjvmwwQw08SC1UDOf2oR6OqAfHMUtumbtl4YA8h3O NiT95YNeY3OCl/gNJElkBep+D2oTWruvCBNFkVJXvGKsnOhWg6CBZ0zSCf7Q1m4fckU1 2wkQSNcQvBOS/mr8IYh8gqOa1kJ6tNJL7cv0DNIjkzv77D2xa3+TD5riLJgK3t4O6p6a iPAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date; bh=V9esN5ooHASD2Vajn+dgkAua1LIC6Umq47bge6TqQZk=; b=SYFssqF7Zb3c3bQatkvScM4ShuPjthb7LYNMONmP8+A5JW0jOH+ebgQxirtRqpsxMf Syfe6pA/F/G/VnaKGZj+ozysCYp/T7J7o/R5UGkqyqk8FoULlvyvsqSo/4ICNxgN84E1 ebeu5kWatYikaChZk/CHGrKWXXe4W7RLLTHE9trtaBNlN+hKWv5Dz2ScIpL0eUg/qrKd ctG1GbjhV0h5a9AhBrZA490aEN4uUBtt2mADYco6rkP2GGGwYWdT6zAAVPb3YqI5CERD TSESPSfCoCLsizYHoUbT5myL0kFEQ6fjt+fOmIfu95iAPUgO0+tg0Hnw+Iaj9cs0fWdk WFFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si26496864jaq.116.2021.07.21.14.06.03; Wed, 21 Jul 2021 14:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236495AbhGUShU convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Jul 2021 14:37:20 -0400 Received: from aposti.net ([89.234.176.197]:51626 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232419AbhGUShT (ORCPT ); Wed, 21 Jul 2021 14:37:19 -0400 Date: Wed, 21 Jul 2021 20:17:45 +0100 From: Paul Cercueil Subject: Re: [PATCH 6/6] dt-bindings: iio/adc: ingenic: add the JZ4760(B) socs to the sadc Documentation To: citral23 Cc: jic23@kernel.org, lars@metafoo.de, linux-mips@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux@roeck-us.net, contact@artur-rojek.eu Message-Id: In-Reply-To: <20210721105317.36742-7-cbranchereau@gmail.com> References: <20210721105317.36742-1-cbranchereau@gmail.com> <20210721105317.36742-7-cbranchereau@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christophe, Please always add a short description in your patches, even if all you do is repeat the patch title. Le mer., juil. 21 2021 at 12:53:17 +0200, citral23 a ?crit : > Signed-off-by: citral23 > --- > .../devicetree/bindings/iio/adc/ingenic,adc.yaml | 9 > +++++++++ > 1 file changed, 9 insertions(+) > > diff --git > a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > index 433a3fb55a2e..1b423adba61d 100644 > --- a/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/ingenic,adc.yaml > @@ -23,6 +23,8 @@ properties: > enum: > - ingenic,jz4725b-adc > - ingenic,jz4740-adc > + - ingenic,jz4760-adc > + - ingenic,jz4760b-adc > - ingenic,jz4770-adc > > '#io-channel-cells': > @@ -43,6 +45,12 @@ properties: > interrupts: > maxItems: 1 > > + ingenic,use-internal-divider: > + description: > + This property can be used to set VBAT_SEL in the JZ4760B CFG > register > + to sample the battery voltage from the internal divider. If > absent, it > + will sample the external divider. Please remove trailing spaces. And you don't need to describe internal behaviour; you only need to explain the functionality in a user-facing perspective. Something like: "If present, battery voltage is read from the VBAT_IR pin, which has an internal /4 divider. If absent, it is read through the VBAT_ER pin, which does not have such divider." You also don't specify the type of the property, please add "type: boolean" before the description. There should also be a way to make sure that this property can only be used with the JZ4760B SoC. So a dependency for this vendor property on the "ingenic,jz4760b-adc" compatible string. But I'm honestly not sure how to express that... Maybe Rob can help. > + > required: > - compatible > - '#io-channel-cells' > @@ -53,6 +61,7 @@ required: > > additionalProperties: false > > + Remove the extra newline. Cheers, -Paul > examples: > - | > #include > -- > 2.30.2 >