From patchwork Tue Sep 11 08:47:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10595303 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE48E3E9D for ; Tue, 11 Sep 2018 08:48:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9EAE22924A for ; Tue, 11 Sep 2018 08:48:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92F2229255; Tue, 11 Sep 2018 08:48:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25F732924A for ; Tue, 11 Sep 2018 08:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726556AbeIKNrK (ORCPT ); Tue, 11 Sep 2018 09:47:10 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:32776 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726517AbeIKNrK (ORCPT ); Tue, 11 Sep 2018 09:47:10 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 11 Sep 2018 17:48:51 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 469096CBA7; Tue, 11 Sep 2018 17:48:51 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.53,359,1531753200"; d="scan'208";a="292175655" Received: from mail-os2jpn01lp0152.outbound.protection.outlook.com (HELO JPN01-OS2-obe.outbound.protection.outlook.com) ([23.103.139.152]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 11 Sep 2018 17:48:50 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d4Liw95mA5cN3s0FJbnEgPWGjcP96yic0LKwhgCBqQo=; b=Y396VIWzLPMalHFr+Z1pmLYCdbCyHl5iDENSxMrLgjJKlWqPQywBXGR74bn9ceIka6Mr60u6icG0P40vpAWhwutlSvVv0cigWep6icPUhNJSBh3UmdfNvIiCSjuD3MWwnp2lpHWt49APpEIlrXSyzA+SrmCNoTFXWtXp8rik7Wk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.144) by TYAPR01MB2302.jpnprd01.prod.outlook.com (2603:1096:404:3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.16; Tue, 11 Sep 2018 08:48:47 +0000 From: Yoshihiro Shimoda To: balbi@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH v5 2/3] dt-bindings: usb: renesas_usbhs: add clock-names property Date: Tue, 11 Sep 2018 17:47:04 +0900 Message-Id: <1536655625-10550-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1536655625-10550-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1536655625-10550-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0132.jpnprd01.prod.outlook.com (2603:1096:602::26) To TYAPR01MB2302.jpnprd01.prod.outlook.com (2603:1096:404:3::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2c307478-1dd3-4d35-cd7d-08d617c36372 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(8559020)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:TYAPR01MB2302; X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2302;3:zYvaiEkKeGd3GAAIauWV0hiejQle6raaBJ6P+RK49sGA1BhcAfWZ/t1npTY6MipTNA/jm3bYvEtnZtKN9RBYXJLe3E/asOwEg0XwJ/rLfam54l002nf6jdBZbdS50qAqkjbDyFwUT9gbXwaJPQmfG3/3voEFY603wZP2qOhKI8qBu3b0GFZiiHJMux+dOUYOByBpawCMGzgXbeYc550EofFnRfNLJyUnSlgL7uXjJDNaZOiX7Adjei5FmCsLoULv;25:dviivigxda0K9pR3p0QIOMUm8jiI2z5TFY6Wo+zO4qC/i9Q1qa/986e/aq5pxxRSK9uwhBgeZJUqh6m3UwaRmLiq2QUGFz4ZEYmifhA0UstZKEOw2MMleZUeIdT4CkWIStkNYijrmnfd4mPkHZlrbVItQ/b6XrgUO/3iQq5PMgU/m5+Ts5ebFFAWw6AfRzLv08sQVRWMFPLv7qZW1kGhpU65g5DMcffMLjnfo1m3E/Bj+JI4kdZQa+VHBfRY/LZG8C823PEKE1oanfNXfMkcyLIm96moPI7tHzUhB4lQPNEf8eNXZwU/cJKveSHJpyT1DmTjTzSqEE7AvhkzenMt+Q==;31:g23qrMWVofF4Yr0BYgzxL7sV1RjKMeFxP70qhRk2MR4S6Y9ReS0wK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ispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123564045)(20161123560045)(201708071742011)(7699050);SRVR:TYAPR01MB2302;BCL:0;PCL:0;RULEID:;SRVR:TYAPR01MB2302; X-Forefront-PRVS: 0792DBEAD0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(396003)(366004)(376002)(39860400002)(346002)(136003)(199004)(189003)(107886003)(97736004)(2906002)(5660300001)(53936002)(4326008)(25786009)(6486002)(78352004)(8676002)(305945005)(7736002)(14444005)(16586007)(316002)(105586002)(106356001)(76176011)(6666003)(6512007)(6506007)(52116002)(51416003)(26005)(386003)(476003)(2616005)(956004)(486006)(3846002)(446003)(11346002)(47776003)(68736007)(42882007)(498600001)(48376002)(6116002)(50466002)(36756003)(16526019)(66066001)(81156014)(81166006)(50226002)(69590400006)(8936002)(3720700003);DIR:OUT;SFP:1102;SCL:1;SRVR:TYAPR01MB2302;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:0; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2302;23:n+ipGy7mIcnbBVctTkGMjiJjLrS9hnI1ZjLTtNt9Rf67sB4HEpcalZRFHAf+fmbKgNUMEJ67mUFSRTjd0ICcRtOmo173pcGHyX6YsIXdEIeqR0VgmYK6AN5/QDPh86O+yVkxgOPm7L+fWUDDelRwWTkc/cKvF1D04B9EQp04c/tyw2WCGWm2NicAGDmdazijjEFgd58qMl2TLvcR48/UE9mJ0pwHL0Le16Agm6E97nBvHGlbgfaTPegwBwcw/+wJv72gTj6aK5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PwOFlY93UXrCezmX8zu3ZovToEK7/1H8scC+DmMI2STs7s64OK1kglaUMM2NRmUg0rpvoVu+3Jv13dXfBdQdM4RUZH94RSY7eVTW9m7qrai9t143dXAPHtJvT8HnmuiUmRhWJgWrrn1RW0u51P09x1iySVTbZB45W+SkPGIy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2302;20:PXMO9mUpu6GVVTix47EO1Il8bpyYoRDAkmQMHdnlIKnt09Ymgk6E/uVbtL5PKqiCeyYsROZWePi4De+0kSlf7FgQwBxVRujvOO1MmQxLJka4CbAP7cxfiTPhRhr1PejNy7NAWqFAr/VztdazP7b7Y6m7/jmOW3Nd+/jLxgN5fEg= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2018 08:48:47.1641 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c307478-1dd3-4d35-cd7d-08d617c36372 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB2302 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP R-Car Gen3 needs to enable clocks of both host and peripheral. Otherwise, other side device cannot work correctly. So, this patch adds a property of clock-names for R-Car Gen3 as an optional. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt index 087140a..15fb3b3 100644 --- a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt @@ -26,7 +26,11 @@ Required properties: - reg: Base address and length of the register for the USBHS - interrupts: Interrupt specifier for the USBHS - - clocks: A list of phandle + clock specifier pairs + - clocks: A list of phandle + clock specifier pairs. + - In case of "renesas,rcar-gen3-usbhs", two clocks are required. + First clock should be peripheral and second one should be host. + - In case of except above, one clock is required. First clock + should be peripheral. Optional properties: - renesas,buswait: Integer to use BUSWAIT register