From patchwork Tue Nov 28 21:47:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 171005 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp4247557vqx; Tue, 28 Nov 2023 13:48:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHziqb0vH8JSuOLkjudOFGC8p/t3Qj0h6jNwksbYQKmL/Eb1n99GpMSq2vP8BWYI1Zf+n9D X-Received: by 2002:a05:6808:3c8a:b0:3a9:9bcb:8760 with SMTP id gs10-20020a0568083c8a00b003a99bcb8760mr22449084oib.39.1701208099621; Tue, 28 Nov 2023 13:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701208099; cv=none; d=google.com; s=arc-20160816; b=ZMDp3EP4UelNI1mGYg2C5pWMomAdjF717Y79nmR5FYKUMj8o4bZkKpXwA3r8fr1esv SR9hoUQu4QLmn8//qRKYoj/j+m8ThaHIVcIKlgms5cR0UQgtRiqANVLACF7IFDa17ug4 gVCUlTRxEEOAHvPPgBmh/7KpJ1eLsMCJIsPNsO/A9MTn96jmG/3Z+B6Hu2llKq29UxOc 1HPr3bN8xScy4C+M4FTn8xfJYmLJAgyEW7Fn5sQIBzGzNHUDaCkGGl1Ga81K4E+zhV4h 2xZ2MlJYLGnXDG1W1vqoN7mV8fkmTl/xE2K+HQrSGko7dbZdLQ5RPzxXpj9e47BdWs5m owmw== 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 Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id y7-20020a634b07000000b005b9b45ba3c1si12878862pga.563.2023.11.28.13.48.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:48:19 -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 3DCAB80A1DB1; Tue, 28 Nov 2023 13:48:16 -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 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:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783845984269307403 X-GMAIL-MSGID: 1783845984269307403 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 Reviewed-by: Krzysztof Kozlowski --- .../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>; - }; ...