Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4165469rdh; Tue, 28 Nov 2023 13:48:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFpLPCT1xHX8zW30UhyqwQc0ygGS+jb53QWk773x30hPKM7EzGBfG77ek5tnlc8mr3NDOo X-Received: by 2002:a05:6870:248e:b0:1fa:1c89:c656 with SMTP id s14-20020a056870248e00b001fa1c89c656mr14174241oaq.56.1701208102070; Tue, 28 Nov 2023 13:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208102; cv=none; d=google.com; s=arc-20160816; b=jgRIzArtrWiRI9eMt5cIs7RIqbZwq1eJGimjhPb/XAFUpqY3piXiSY8Q273W4AlPpR +qyu6kn4RDRp53YXpd0EUGIqBzbil8pAahxp2gVlcgFNyp/JxfNzIrsoLZNthatx4ZWk 2/49PeIpavNpP7jjASDUsK6saR6KKTD9ziw33XbytBqeMoijUivsHzVKkMRvvMCheMo5 h5XVEsaTT6D/Li9bdb89CyUpByNjWTAkcVOn/VPViwwEWA/q6jzGsRHKfz2A/ZjgsqG8 QW9+jfC6IGA0IUvVe/wnRzowcHmqMx2tVB8Um92tjtJtFfVXC3gB9S6RR4EfgNLX3J7M y3TQ== 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=tY859mgZuixEXsQXpxoxdofdHWsZ/aGJN72aWxxZ5dQ=; fh=hzX/C2VmhZ+LimH1QGhn85gULhn5M9WbF/883bVvOUM=; b=nEXn/EW4IbCehZVo2UA0s19VIUHWohli5JCnRGzULBjsGRmTnzAMOOMOTMpCgfgw62 ux71nqn/vsW/AnTVtqDsjhHus+075WszqGTaBcnSpSqHt6TPgiOWJ86eYSNCArj/SF7W pho1VObaHZZ6jIWtyuXWxwtHPxz0BeV7/cfhXR4v0INgxYN+eyIJ+eYajE+3DO3gUfht kWzYVD01qsiCV3EjZ372wDNhs2CWYxYjP4611NunewdQmZK8azzEek8FI4xNcc4FJVtm en6CkZvZA25MQNe4ikSwIaTCUZulX2HyoX0Q7R1tzTnqmQ3LWgGGRYW9uLi3ZbSBv+g1 y2eg== 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:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id k18-20020a056a00135200b006c346de97b0si13659907pfu.336.2023.11.28.13.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id D024083265A6; Tue, 28 Nov 2023 13:48:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345467AbjK1Vr5 (ORCPT + 99 others); Tue, 28 Nov 2023 16:47:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbjK1Vr4 (ORCPT ); Tue, 28 Nov 2023 16:47:56 -0500 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 667E998; Tue, 28 Nov 2023 13:48:03 -0800 (PST) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6d7eca548ccso3449624a34.3; Tue, 28 Nov 2023 13:48:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701208082; x=1701812882; 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=tY859mgZuixEXsQXpxoxdofdHWsZ/aGJN72aWxxZ5dQ=; b=qXCDnFAZWQAmzBbgOS5s8g6UUc2mCDm/AXW/1mOWdbKPHbVDZwFaIEx+0rr4TzAGR7 P7K5DIWyXlIr0KfY8KE/HSPkzaixwpzlZSEs+kGSejslAhsOGcx9XJ8zQjP9Y2G9IXkg 2DJ0lPJVvmbdhWsVG0sscwwred8Rwy35zt//i4fCAyXwZO3X61AjYpD93E5fMlBBN6l8 9ieWZcW7N0tuKnV7Br/k5+SDAZD0gSgwmea7TL/F48iNA8xPk1rdjI5jMz+d6bLRGth4 QbVzapp6AadeGJvyfzTmlZp8pjqVxxBSQvA3hFaLGuOkwaOw66DE+uof2sdjdMe0CPAz oI/Q== X-Gm-Message-State: AOJu0YyJSQmC9SgdLKX6F5CHuTi+yiOHsCg29cFAB8Syr9O0TWOhjz4c nLInS/j40mcrkJ/8kjbqg6PUORRRbQ== X-Received: by 2002:a05:6870:248e:b0:1fa:1c89:c656 with SMTP id s14-20020a056870248e00b001fa1c89c656mr14173684oaq.56.1701208082608; Tue, 28 Nov 2023 13:48:02 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z20-20020a056870385400b001fa2823dc13sm1930073oal.0.2023.11.28.13.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:01 -0800 (PST) Received: (nullmailer pid 3975504 invoked by uid 1000); Tue, 28 Nov 2023 21:48:00 -0000 From: Rob Herring To: Philipp Zabel , Krzysztof Kozlowski , Conor Dooley , Wei Xu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: reset: hisilicon,hi3660-reset: Drop providers and consumers from example Date: Tue, 28 Nov 2023 15:47:58 -0600 Message-ID: <20231128214759.3975428-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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:48:20 -0800 (PST) Binding examples should generally only cover what the binding covers. A provider binding doesn't need to show consumers and vice-versa. The hisilicon,hi3660-reset binding example has both, so let's drop them. This also fixes an undocumented (by schema) compatible warning for "hisilicon,hi3660-iomcu". Signed-off-by: Rob Herring --- .../reset/hisilicon,hi3660-reset.yaml | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml index cdfcf32c53fa..e4de002d6903 100644 --- a/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml +++ b/Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.yaml @@ -50,32 +50,9 @@ additionalProperties: false examples: - | - #include - #include - #include - - iomcu: iomcu@ffd7e000 { - compatible = "hisilicon,hi3660-iomcu", "syscon"; - reg = <0xffd7e000 0x1000>; - }; - - iomcu_rst: iomcu_rst_controller { + iomcu_rst_controller { compatible = "hisilicon,hi3660-reset"; hisilicon,rst-syscon = <&iomcu>; #reset-cells = <2>; }; - - /* Specifying reset lines connected to IP modules */ - i2c@ffd71000 { - compatible = "snps,designware-i2c"; - reg = <0xffd71000 0x1000>; - interrupts = ; - #address-cells = <1>; - #size-cells = <0>; - clock-frequency = <400000>; - clocks = <&crg_ctrl HI3660_CLK_GATE_I2C0>; - resets = <&iomcu_rst 0x20 3>; - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>; - }; ... -- 2.42.0