From patchwork Wed Dec 7 16:24:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 30919 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp280219wrr; Wed, 7 Dec 2022 08:25:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf7S1pvcExB5fU/vEf23oPjv6Bzu1XG06JFNSPHlegAhFilJXvutrNPmncCrapqXSWTZF4Fy X-Received: by 2002:a17:903:187:b0:189:de92:ab2c with SMTP id z7-20020a170903018700b00189de92ab2cmr12491444plg.113.1670430348283; Wed, 07 Dec 2022 08:25:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670430348; cv=none; d=google.com; s=arc-20160816; b=EZnDV+b84LLeTfnE+3uWr0R8VW4h/b2/DE6bZUZjlVFlz1Lnl6YE1s+MAJnqgdMrrJ LvPOe7oQ2WrNPnItTDvLp33F2NTkAhKrMInN9XY7MAugc1uY7P++VBTqFtM/fdOJLAzb O5Hhrws7NJkpoE/9zMGhPt2QusbvbQ8mOZ0ypjtl64lj6yg7IF5CUvcLQ1ijWYL6/inn YND0SAiGNjEIzxrDYGUaMcA4ZFitbInYH245fSbUOYTnf9yt1Wt/Uh1vwUK0mRhE2UBS rutx2k9mfU4MJtdQB+mhwfzZWZxyuUmygPLnI5UvQ10E5cbLTtn3ynGVaaAzViJoWfHl me3A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mFK6AOeENQ1uANcJv+R12Fnypco6L8enVtc9IJTWm00=; b=WU3Y5aD71HvVvocROLV/tpGOVbsNKXGM8xQ06M6xHlXfTBS0t/0Ms5tLlZsF2Hho93 9+T3bh+o2O9PWh4j0FMOIC8xMn4VENGgQrPg6taWEh1rdllnkwUoKhvCFsU6USUTu2Iy Q1e+zftScJXL6MPzPDo5FAc+4o0xXsjv6GV6gNmlLEgbriAqlc9Umm1uIZv/zK9I0jnW nynVr8IdrEWQglJJsoB2MjR1yrb51ODrKw0myC7rahZFENDieXl7hcDVuhxEj/n/c+V5 0fvSWhDlHKShLwaFjsb8s+5ohCBSKtKyEldsnVN3y/IgTT6IVjjvRxYqGFqvQ0OkB0X7 FRvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=P0orn2Lv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m8-20020a1709026bc800b0018875900d97si18482590plt.20.2022.12.07.08.25.33; Wed, 07 Dec 2022 08:25:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=P0orn2Lv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbiLGQYu (ORCPT + 99 others); Wed, 7 Dec 2022 11:24:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbiLGQYq (ORCPT ); Wed, 7 Dec 2022 11:24:46 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15A928E04; Wed, 7 Dec 2022 08:24:44 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id D829340005; Wed, 7 Dec 2022 16:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670430283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mFK6AOeENQ1uANcJv+R12Fnypco6L8enVtc9IJTWm00=; b=P0orn2Lv9JNQJJe7+lWZGgHK/k2G39eaNPn+ItuddzLi7mNZ/ITdIRZgAydOu9rsvQqEbd lX6xbyt8Y2axGl2afrc12ATZr3i0HcCptB8/4EhNYp7auQRX4dKBxgUlxJQnpyUpKJ0f+1 keFzyfrdit4jY3FzVg8yOKpifYspeeLs+Cy/SWKzSKBrupAh8T1pN2DooR/emLQoAKDLhs mcMOm4X6oZkZW76adsBg5g2bmjvRolWTdlZVZ5Pdl9QSNBaGN4vG0T2HyXXLP4JoJfFtiK TEkkbZFLuaYfZI5QC/tTj28ed3zVo5tmhFNrv+yOCPUiNZuHccnQB+5A71R1dg== From: Herve Codina To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Herve Codina , Greg Kroah-Hartman , Magnus Damm , Gareth Williams Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Thomas Petazzoni , Miquel Raynal Subject: [PATCH v3 1/9] dt-bindings: PCI: renesas,pci-rcar-gen2: Add depends-on for RZ/N1 SoC family Date: Wed, 7 Dec 2022 17:24:27 +0100 Message-Id: <20221207162435.1001782-2-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221207162435.1001782-1-herve.codina@bootlin.com> References: <20221207162435.1001782-1-herve.codina@bootlin.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751573172737809670?= X-GMAIL-MSGID: =?utf-8?q?1751573172737809670?= In RZ/N1 SoC family, a h2mode setting is available to change the USB configuration from one host and one device to two hosts. This change will be done at sysctrl level and must not be done while USB host or device are running. In order to express this dependency (probe order dependency), introduce 'depends-on' property at PCI bridge level. Signed-off-by: Herve Codina --- .../devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml index 0f18cceba3d5..e1221ad68465 100644 --- a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml +++ b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml @@ -130,6 +130,12 @@ allOf: - const: hclkh - const: hclkpm - const: pciclk + depends-on: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the node (sysctrl node) that set the 'h2mode' value in + order to express the fact that sysctrl must set the 'h2mode' before + the underlying USB hosts start. required: - clock-names else: