Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2472293pxv; Sat, 3 Jul 2021 09:45:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLv3bp/ZU3xjfQlMBMKxw2w2inuQc9b5MYglm22S9Nu8GXzLEfWbboc30mmFxNK6Hx/KXU X-Received: by 2002:a02:7f89:: with SMTP id r131mr3309405jac.68.1625330715690; Sat, 03 Jul 2021 09:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625330715; cv=none; d=google.com; s=arc-20160816; b=jzZ8kp5st4+pyIBFeOiSnKQ6KJyPnbiQdNzvkv+u3QkWvYAw1YPa/0HhDeDWB79Yfq H9KU0L/HDciGgga6Qn4t2v54KIw9MZ7mZIzDNdDoBAdQUYrDnsZN98F92Gbw3LsLaqB9 9zcPrdmiWuTIKzCWD0muOd17x4qIIvormjlnUWWDFKyJ4+FE/WMwKt/JEwJZ0momktQn TlP6PfHbtC57skI55xDD8ZXTkRBK9Pb0zCAB4z5/Ka3oW4gdIE8BpdgK2QZmzpzoPGkT N6TiQ3lK1EADz+mrI2ONifrzGMLwLBTwiE8vSH91dW7mj2m5sKXUjkIEbVmDzGFc7Wqc e8sA== 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:subject:cc:to:from:date :dkim-signature; bh=HtKfSB56fn7n+CnIV4JeUmzMser9oQjWjl30ggovg5A=; b=m5EjLqcsW8TzeZtsAtsjRB6t45QfD1RdSsBAxUZY1U62LHupCVwne/ATRRjCsejVMM 5LzlH06LuS3KjBeTGOsf5jtQQMby01axKXk52PZJUYIFXOYQUJm8LzLB7GleTq0jC23D lpy8gdycQVlD9g7shESsSVJJe5pJbRGAtwUEvXMLJM4bX5MYGLXXBEegsGvs+yfZQE7b g1Hv0VG0kJpoz5sKxNTQXJbfn/upMAuJhYO4skvrm/StHid3nxnpSvIwPZnAQO8/OLOB MyqiyLqmnPzhgxIa5GPChCPN3YDgQCCefIugs68m1xWWYFMpakOWe6zQm6c11074D+PD pyYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=d6RvvMrj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d16si6857074iop.94.2021.07.03.09.44.52; Sat, 03 Jul 2021 09:45: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; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=d6RvvMrj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbhGCQqF (ORCPT + 99 others); Sat, 3 Jul 2021 12:46:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhGCQqE (ORCPT ); Sat, 3 Jul 2021 12:46:04 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A52EC061762; Sat, 3 Jul 2021 09:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HtKfSB56fn7n+CnIV4JeUmzMser9oQjWjl30ggovg5A=; b=d6RvvMrj73CX7GlivJEj6YFc1s 5wHerC+/gsLvZqsgWS1AuhxNjmC5ROlo/MyxQ2L674l27v0pWhQO9//pXReVAhD1sMH2ChfQG/teV I1f9qarNz7mnTJyDSl2r8eoU8H/IHQk7yoUZyAnGtGMJF2T4uNyjwfGPzNgeUB6rfvaU=; Received: from p200300ccff37da001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff37:da00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1lzijm-0000bJ-J3; Sat, 03 Jul 2021 18:43:26 +0200 Date: Sat, 3 Jul 2021 18:43:25 +0200 From: Andreas Kemnade To: Jonathan Cameron Cc: lee.jones@linaro.org, robh+dt@kernel.org, lars@metafoo.de, sre@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, leonard.crestez@nxp.com, letux-kernel@openphoenux.org Subject: Re: [PATCH 1/4] dt-bindings: mfd: ricoh,rn5t618: ADC related nodes and properties Message-ID: <20210703184325.4ce09fc7@aktux> In-Reply-To: <20210703170245.1d310342@jic23-huawei> References: <20210703084224.31623-1-andreas@kemnade.info> <20210703084224.31623-2-andreas@kemnade.info> <20210703170245.1d310342@jic23-huawei> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 3 Jul 2021 17:02:45 +0100 Jonathan Cameron wrote: > On Sat, 3 Jul 2021 10:42:21 +0200 > Andreas Kemnade wrote: > > > Add ADC related nodes and properties. This will allow to wire > > up ADC channels to consumers, especially to measure input voltages > > by the power subdevice. > > > > Signed-off-by: Andreas Kemnade > > --- > > .../bindings/mfd/ricoh,rn5t618.yaml | 53 +++++++++++++++++++ > > 1 file changed, 53 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml b/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml > > index 032a7fb0b4a7..185f87a14a54 100644 > > --- a/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml > > +++ b/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml > > @@ -73,6 +73,48 @@ properties: > > description: | > > See Documentation/devicetree/bindings/power/power-controller.txt > > > > + adc: > > + type: object > > + > > + properties: > > + compatible: > > + enum: > > + - ricoh,rn5t618-adc > > + - ricoh,rc5t619-adc > > + > > + "#io-channel-cells": > > + const: 1 > > + > > + additionalProperties: false > > + > > + required: > > + - compatible > > + - "#io-channel-cells" > > Strictly required? If not used below (where it is optional) > then why do we require the ADC driver to provided the services? > > I don't mind you leave it as it is though if you prefer - it doesn't > do any harm! > ok, it is not that strictly required. Regards, Andreas