Message ID | 20231128214803.3975542-1-robh@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp4247616vqx; Tue, 28 Nov 2023 13:48:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYH7jjLgcD2bv0qCYIjOBCZYiISE8kFqOQG12y0TdmJoodTVLFy9AubW/DQJQ5L/I/Fl7M X-Received: by 2002:a17:902:c40d:b0:1cf:9790:f244 with SMTP id k13-20020a170902c40d00b001cf9790f244mr17385627plk.47.1701208110128; Tue, 28 Nov 2023 13:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208110; cv=none; d=google.com; s=arc-20160816; b=BONjio8K1F1u3lgrN53NEZgJ6RCQMtE6WrMmN26Jr7IXBn3YD7iLAUFsYTb0oFEjV4 8t0g8N5QfGIqyiXk/K4Erk/SwIPDG/YWYgqW2n9G2pWCG1ZiQRIoUTbpJyY/h8iFFzpO raLiEW2clw/CpWP9JRImwAdde2mP43Jm8hYHCeC4x8XmY+nl4E4yrwhBM37YOAgtuPM8 I8e6IaN/6FhTaj/RrwnqAQ9aNBUH0Aq+FPhQRI6+x6SRc+sGfRrdy6O7U74t4wVdEDeq WMLmBv7udPt290oW59nZpFVA70Kw+k+UzVL45XaN+p1Av3DHVZHKvWjB0Npb45vmIjUt pjhw== 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 :message-id:date:subject:cc:to:from; bh=HrJ0LHtyb46py1wsTp8nuyQVcABfVvnzMH83rgwCH3U=; fh=SyUlLInyEy7m+Wzt83YqArj+h4JzfQTIyB3z5cIuKGU=; b=M/OVlg5knrBcpCmIzKOdICc4B552w8NgkWOLuofKdUvC0Yd9YDjvl0uj7LhdlCuQlu r3VQ26KAqI5EZM03qpJsfqljQcpEWhvUg+ui5mzSNDG1FO5ugxF4jtKHVfmn1CXne+sS UP9vYku8FEtlfO1sofKBlWTUt4snzTy3ox8OOTB5HM7W8vmBj/AatFqBewAxQB1qDLm+ 0aYKl2ZIkzSt25jPDBexdyVtgGB4aMYsDGWBbsN/BoCipWulEbTV2iOGRqjDBFzwArPF +sgT0BGBSyHjl9bWRw+1eiwFD7QiajqODYXm9x8i/o3SWLg0GfSs/SIHmvCVNFBVHia4 y89g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b19-20020a170902d89300b001ce5b9a512fsi12590225plz.606.2023.11.28.13.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6F09280530D5; Tue, 28 Nov 2023 13:48:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346425AbjK1VsS (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 16:48:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234956AbjK1VsJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 16:48:09 -0500 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC132B0; Tue, 28 Nov 2023 13:48:11 -0800 (PST) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6cd0a8bc6dcso3656354a34.2; Tue, 28 Nov 2023 13:48:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701208091; x=1701812891; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HrJ0LHtyb46py1wsTp8nuyQVcABfVvnzMH83rgwCH3U=; b=wyVuby5OnCprk+IwWtJ0/yMj5YuM2QJdkcyLvk+7McIuNcjB0lGekeMuCI+VCmry7l b8L5ppW9uPlxfZHBgzIybAhQluMjHdjO8G3YrqHsypNYMapH07+v2PEc1X8U5ySmVxoE lQ+zzxkMztuB67t1emnSF3GhSS2lFtH7M7TD+kcsp9lFd/f5wb4yIm797SDfkSVpODP1 e1dXFDr9zdfGsb4y6zEROxKhSfyPsVuS2bHB/KneZRgD5uNom56WSNUAB38pesXUUPEs w1ejiKUNXSPIRTL+7BRPo00HC7DT7+AoGOYbygzXrObLPhIpInTaHlyBspslFiRyZKgz TOSg== X-Gm-Message-State: AOJu0YzQnqDC8ITXIYfsMwmF2N1tNWrxUA8hrXN1RH9CWxV18+64Xx83 lmE+ZPehSRprzR4rWiVngw== X-Received: by 2002:a05:6870:b619:b0:1fa:3e11:e178 with SMTP id cm25-20020a056870b61900b001fa3e11e178mr12375997oab.10.1701208091189; Tue, 28 Nov 2023 13:48:11 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id ti3-20020a056871890300b001f9e3731545sm2765905oab.11.2023.11.28.13.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:10 -0800 (PST) Received: (nullmailer pid 3975662 invoked by uid 1000); Tue, 28 Nov 2023 21:48:06 -0000 From: Rob Herring <robh@kernel.org> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Tony Lindgren <tony@atomide.com> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: iio/adc: ti,palmas-gpadc: Drop incomplete example Date: Tue, 28 Nov 2023 15:48:02 -0600 Message-ID: <20231128214803.3975542-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:48:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783845995261218102 X-GMAIL-MSGID: 1783845995261218102 |
Series |
dt-bindings: iio/adc: ti,palmas-gpadc: Drop incomplete example
|
|
Commit Message
Rob Herring
Nov. 28, 2023, 9:48 p.m. UTC
The example for the TI Palmas ADC is incomplete as the binding is the
full PMIC, not just the sub-functions. It is preferred for MFD examples
to be complete in the top-level MFD device binding rather than piecemeal
in each sub-function binding.
This also fixes an undocumented (by schema) compatible warning for
'"ti,twl6035-pmic", "ti,palmas-pmic"'.
Signed-off-by: Rob Herring <robh@kernel.org>
---
.../bindings/iio/adc/ti,palmas-gpadc.yaml | 15 ---------------
1 file changed, 15 deletions(-)
Comments
On 28/11/2023 22:48, Rob Herring wrote: > The example for the TI Palmas ADC is incomplete as the binding is the > full PMIC, not just the sub-functions. It is preferred for MFD examples > to be complete in the top-level MFD device binding rather than piecemeal > in each sub-function binding. > > This also fixes an undocumented (by schema) compatible warning for > '"ti,twl6035-pmic", "ti,palmas-pmic"'. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Wed, 29 Nov 2023 09:30:23 +0100 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 28/11/2023 22:48, Rob Herring wrote: > > The example for the TI Palmas ADC is incomplete as the binding is the > > full PMIC, not just the sub-functions. It is preferred for MFD examples > > to be complete in the top-level MFD device binding rather than piecemeal > > in each sub-function binding. > > > > This also fixes an undocumented (by schema) compatible warning for > > '"ti,twl6035-pmic", "ti,palmas-pmic"'. > > > > Signed-off-by: Rob Herring <robh@kernel.org> > > --- > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof > Applied to the togreg branch of iio.git and pushed out as testing for all the normal reasons. Thanks, Jonathan
diff --git a/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml b/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml index 720c16a108d4..f94057d8f605 100644 --- a/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.yaml @@ -67,19 +67,4 @@ required: - compatible - "#io-channel-cells" -examples: - - | - #include <dt-bindings/clock/mt8183-clk.h> - pmic { - compatible = "ti,twl6035-pmic", "ti,palmas-pmic"; - adc { - compatible = "ti,palmas-gpadc"; - interrupts = <18 0>, - <16 0>, - <17 0>; - #io-channel-cells = <1>; - ti,channel0-current-microamp = <5>; - ti,channel3-current-microamp = <10>; - }; - }; ...