Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4165582rdh; Tue, 28 Nov 2023 13:48:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZiUBKRJnetzHoYEajjazZtxO5dduC1TXk2sTdNVS+oREPCOZtLkYnD7Vx3tuaSLb1prPr X-Received: by 2002:a05:6a20:42a0:b0:17d:f127:d435 with SMTP id o32-20020a056a2042a000b0017df127d435mr18017615pzj.45.1701208116362; Tue, 28 Nov 2023 13:48:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208116; cv=none; d=google.com; s=arc-20160816; b=KgCaehLZ/r08qd8kc8V5+p9SIuFLhTWf58Zeknhu9MGAmnW2bwzcW5DmbDquoQxLYl RuR7P6q5ulA5EsChJhnCnHH3yn/TNkHm4j9PdFFX6ebTuDVN8k5QD7i9ZsOZdlYxff77 9AzNVUMGU/hL18iFnohAW27rWWcZ78eLnOftmyqm7mDGDffxCbunSjs/VJdPplSnyws0 nT1mSrEsDGrJ0DTwNGGvbSETUMi9SePz3KUJVoxT2tbUat66xrycFCjBqrDOCi4MHIKz 4ispO160bUxo2pUzB1AfJ+q9b0kOd01zevyEVV6YOxWoEIvUQyajohtIff4Ni1Dr6ZsN Dhjw== 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 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id jg17-20020a17090326d100b001cf68d3e90csi12688040plb.98.2023.11.28.13.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 984C380A8B8B; Tue, 28 Nov 2023 13:48:32 -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 + 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 ); 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 To: Jonathan Cameron , Lars-Peter Clausen , Krzysztof Kozlowski , Conor Dooley , Tony Lindgren 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: 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:32 -0800 (PST) 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 --- .../bindings/iio/adc/ti,palmas-gpadc.yaml | 15 --------------- 1 file changed, 15 deletions(-) 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 - 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>; - }; - }; ... -- 2.42.0