Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5354484rwb; Mon, 14 Nov 2022 03:28:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jxClf5qveNO4MYXbButJpTlTM4QCu7zdL0z+ja29q//1ux/7wF0r5U+uaThQRvrHr7gBq X-Received: by 2002:a17:902:bb95:b0:188:9568:1778 with SMTP id m21-20020a170902bb9500b0018895681778mr12855032pls.156.1668425316196; Mon, 14 Nov 2022 03:28:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668425316; cv=none; d=google.com; s=arc-20160816; b=bEcm3XWIJiklKoaz/Q+1k7sn7H9lnJhq+feYXUHzSCNpcYHa8Zcqa4FOtUd2QkWNtI QKBOftr6fs0gAfm2mKVoT9tB/cVJcocxL5r/fRSEP74slql0SWh50KXEcrZYuJ5qsak0 5HuaSVmxrWabRypK4TxoIgqwG9Q816D3oOf2yTRrf/6bcctrFJX4LLU6QSQKrxk4+f0E t79RM3X+5fooOX6EJ6Pj0xSphgTpWXJhfPD63H6LId8OA7L5t2azKCkg0qxF7m5H1CI1 uZyyjz8sZ+iet6NpIKZgOIAfCY0cnlFHjXYo3L9JKkO5vC8DGbtpVgb9+QU8xKR7mX1d dBnQ== 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=rIVbSyIZp3imXtExKvo6Q6tMSTGJpwHSvojy2YkLNKY=; b=wEZBngdojUKX/MKBsPSMBtdnhiLShJXlurfo7NdMgD/kSiwl+s4bBheoAfCmtYkmss 0x0bZsGJbx4ReXnB0gHBA/Zuz5B20xZiSLIc9XVGdbfUWACcQ5/8bxp1DQMwat67veqz LM5f5XwXy5RaXCITTVi/WPcqWp/o7F11FYzH0TDGOo/rTBu9ouZE6Va/amO587eSB0V1 r7osuTnKLcy6SXZ17jYlK/d/L8I+AhzuaNK7/45DM5z++Aqxb1sgxt6J2qJa/0kaCAYR So+XnrSYnesXcXvS7ISgF136KTq6MrmlqCRmed32zoIoQENJlpKkfag1z6i8tfn9skqc WRqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=oK5Tgccp; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a056a000b9200b0053f52794b23si10236962pfj.88.2022.11.14.03.28.25; Mon, 14 Nov 2022 03:28:36 -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=oK5Tgccp; 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 S235826AbiKNLTV (ORCPT + 89 others); Mon, 14 Nov 2022 06:19:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236986AbiKNLRa (ORCPT ); Mon, 14 Nov 2022 06:17:30 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A70E21264; Mon, 14 Nov 2022 03:15:31 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 65E936000D; Mon, 14 Nov 2022 11:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668424530; 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=rIVbSyIZp3imXtExKvo6Q6tMSTGJpwHSvojy2YkLNKY=; b=oK5TgccplQbeUnRe5w0VER8tpOM+JeVb7gYR9spS/2E+xBFr96Bvr4+5xjqDTDe6LnN7l0 mkozKP6IFSmHc5JZV/8up090HkHIEZJedIryDPj+m/MX9/sXNkh3mlUuZjZKXbMkuUa7vv P0XoE/j7O8i24EdplurCC9RlRsI22/z55z7Easx8g6+nB7YKNsfZRbFEys7Z5OA2jgvfvR DdpVOoR+YZOtd9ZsdHYXPLHtelIiCeNVtqDQfpYR5qiOvOq/WsZVcu8dQz8mtN/s3DOTNJ b4ciRmoCNBOwmp8YlVAhjGaW/MqEpaaR8bjVoYw5kKKk/7rQJwQ4lmnYONPxEw== 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 v2 2/7] dt-bindings: clock: renesas,r9a06g032-sysctrl: Add h2mode property Date: Mon, 14 Nov 2022 12:15:08 +0100 Message-Id: <20221114111513.1436165-3-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221114111513.1436165-1-herve.codina@bootlin.com> References: <20221114111513.1436165-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add the h2mode property to force the USBs mode ie: - 2 hosts or - 1 host and 1 device Signed-off-by: Herve Codina --- .../bindings/clock/renesas,r9a06g032-sysctrl.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml b/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml index 95bf485c6cec..f9e0a58aa4fb 100644 --- a/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml +++ b/Documentation/devicetree/bindings/clock/renesas,r9a06g032-sysctrl.yaml @@ -39,6 +39,16 @@ properties: '#power-domain-cells': const: 0 + renesas,h2mode: + description: | + Configure the USBs mode. + - <0> : the USBs are in 1 host and 1 device mode. + - <1> : the USBs are in 2 host mode. + If the property is not present, the value used is the one already present + in the CFG_USB register (from reset or set by the bootloader). + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + '#address-cells': const: 1 -- 2.38.1