Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3268131rdg; Tue, 17 Oct 2023 09:16:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMa4qgTTvxXSwK95r2FW7vfNjLr1gsfRpAIrZ9U1KhemJIQlBFdC7uK/Cm85QSfv3xXgQX X-Received: by 2002:a05:6358:d196:b0:141:8c:75ad with SMTP id ka22-20020a056358d19600b00141008c75admr3424529rwb.28.1697559381519; Tue, 17 Oct 2023 09:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697559381; cv=none; d=google.com; s=arc-20160816; b=FUlsvHGojIocjWgRNts3E+/EUFFm02CHGqXijvnbuXiKGT27Tofkgsv8XRaIDxKEe9 lEyK1q1iTRkqiOneHdXhN0DEBFLhKsLj44x8J+wsZHbDUBakQWgg6/QDD9zIvJ+CoNDM RfX+qj7+dr/w6qy+F91EdRQnITam37nTWRga+IRVC0NIge3xU7SDEz9cZjeKa5FGW7eP WucPYzuu9Ypbx/PxMUyYNKTKmokTGMloOwFog7nBHHp+MOXKhOInNgF1E0rED/5SeHbv E6WsltBKdxTRStdjM1sa0mZ+pgcrj0UZV8qgsSbmaFSjnm8oxtEC8C6TKoJ3CM4zsMTY KnaQ== 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:dkim-signature; bh=TBQxXXMxtKYLAlPQFC9WJWG3kOsj3IFdwwJwrFcYuJw=; fh=FsalDhHlcN8Obi0zKhoQsTcsYi/n7RPtGQbZOs9rC7I=; b=U/fdYwr1aN3mvabbHJ+TQ7fXbKnJP8SA/JP+UzVL1pbYr9TuaLJ1tnFSf0F7kWioMT 9qzGYGuQWtP06gixC3ZXD+AX9YLniN3mzTOqAQZGn6+WeBcC8YZKxmECmGVofWsv8KuT ptZqFJ3siz0dcahFansIyyYjwSRKbj+yLNbwQkfnq3JO0VfubBIk6KXVDB1WDCVx0YFM reDEejK3yxd8hiT3zvMifLR1iNgZT8LG7Kh99Fy/bEHb7bWb/OP7RvM5rzC3M1v7Nxla gG5QsAA5Sfyg3+A5EJhxnSxJ3xKPdScQhLqlJlymIAnQIFOevPrZb3HMgtypSoPcZVC7 ViPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qx23junq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u11-20020a056a00124b00b006b4d80642bbsi2023416pfi.182.2023.10.17.09.16.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 09:16:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qx23junq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 85F7980320ED; Tue, 17 Oct 2023 09:16:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232804AbjJQQP7 (ORCPT + 99 others); Tue, 17 Oct 2023 12:15:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343684AbjJQQOQ (ORCPT ); Tue, 17 Oct 2023 12:14:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB6C3ED for ; Tue, 17 Oct 2023 09:14:14 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89D25C433CA; Tue, 17 Oct 2023 16:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697559254; bh=Ye90HBHDZzB2aDp/S5UGI++JNCzZ7q1PX2LEgBDO3FA=; h=From:To:Cc:Subject:Date:From; b=qx23junqDkaU3YjKyYdbbhUyl6RLIT071nSnCTOJMkBDZHvV4szsntrGDj3OEDqEj S897OKmOGZfSvjmRBVYtCU5LPOFJtMX6OJ82xXXEgA9Go4HgUsrSH/WNRLxFm58O8f ZUGjc4jgUhf1hAAv7P4kejGqwOn95zb7UDdwHe5jGFc/VkkSJxel6Mw98eYqq+Rcc4 tBK+OWo+yQhKO7JIk3NlSwDXApMJ1XBfqcDzzy/hOuQFWXCMLlVaVtnCNqYoT9Pa/g YzIH4zPCVPoff2t6r9ayWW3UQfdZm/HSJfCmPpvxm89cLOBoVT8Iku16qe2NZVa9L9 7FyQzoGAsPMNA== From: Jisheng Zhang To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anand Moon Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: usb: vialab,vl817: remove reset-gpios from required list Date: Wed, 18 Oct 2023 00:01:58 +0800 Message-Id: <20231017160158.1065-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 09:16:18 -0700 (PDT) The "reset-gpios" is optional in real case, for example reset pin is is hard wired to "high". And this fact is also reflected by the devm_gpio_get_optional() calling in driver code. Signed-off-by: Jisheng Zhang --- .../bindings/usb/thead,th1520-usb.yaml | 42 ++++++++++--------- .../devicetree/bindings/usb/vialab,vl817.yaml | 1 - 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/thead,th1520-usb.yaml b/Documentation/devicetree/bindings/usb/thead,th1520-usb.yaml index afb618eb5013..ce1cab75f0ff 100644 --- a/Documentation/devicetree/bindings/usb/thead,th1520-usb.yaml +++ b/Documentation/devicetree/bindings/usb/thead,th1520-usb.yaml @@ -28,6 +28,10 @@ properties: ranges: true + thead,misc-syscon: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: a phandle to the misc system register controller syscon node. + '#address-cells': enum: [ 1, 2 ] @@ -51,23 +55,23 @@ additionalProperties: false examples: - | - - usb { - compatible = "thead,th1520-usb"; - reg = <0xec03f000 0x1000>; - clocks = <&clk 1>, - <&clk 2>, - <&clk 3>, - <&clk 4>; - clock-names = "ref", "bus_early", "phy", "suspend"; - ranges; - #address-cells = <1>; - #size-cells = <1>; - - usb@e7040000 { - compatible = "snps,dwc3"; - reg = <0xe7040000 0x10000>; - interrupts = <68>; - dr_mode = "host"; - }; + usb@ec03f000 { + compatible = "thead,th1520-usb"; + reg = <0xec03f000 0x1000>; + thead,misc-syscon = <&misc_syscon>; + clocks = <&clk 1>, + <&clk 2>, + <&clk 3>, + <&clk 4>; + clock-names = "ref", "bus_early", "phy", "suspend"; + ranges; + #address-cells = <1>; + #size-cells = <1>; + + usb@e7040000 { + compatible = "snps,dwc3"; + reg = <0xe7040000 0x10000>; + interrupts = <68>; + dr_mode = "host"; + }; }; diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml index 76db9071b352..c815010ba9c2 100644 --- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml +++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml @@ -37,7 +37,6 @@ properties: required: - compatible - reg - - reset-gpios - vdd-supply - peer-hub -- 2.40.1