From patchwork Fri Aug 31 10:32:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10583565 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 319D6180E for ; Fri, 31 Aug 2018 10:34:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B6992B780 for ; Fri, 31 Aug 2018 10:34:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2F292B783; Fri, 31 Aug 2018 10:34:49 +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=ham 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 93FF328724 for ; Fri, 31 Aug 2018 10:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727821AbeHaOlj (ORCPT ); Fri, 31 Aug 2018 10:41:39 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:54253 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727208AbeHaOli (ORCPT ); Fri, 31 Aug 2018 10:41:38 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 31 Aug 2018 19:34:44 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 8DF0E7A54D; Fri, 31 Aug 2018 19:34:44 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.53,311,1531753200"; d="scan'208";a="289630540" Received: from mail-os2jpn01lp0152.outbound.protection.outlook.com (HELO JPN01-OS2-obe.outbound.protection.outlook.com) ([23.103.139.152]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 31 Aug 2018 19:34:44 +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=a+6wZ6VZgQAGlIEehr+T3epW1MFOzKH0ROWqILZ49V8=; b=bifqMfbJ6mk4IMfaTe2zlF6XJNxYBLEaoPxnGpEayVFnaUiHVeojA0FB+H556H2tYAk7azzYdQYKCRdrXRn0sdwgslhBIq2HnSd88iT+V2ozxeOrwbgsNGKSpBsCAoNy52MwKghkMT2nVnYBIgv2HyVtMYUPk4QcuA7N2W42J6Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.144) by OSAPR01MB2289.jpnprd01.prod.outlook.com (2603:1096:603:1c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.13; Fri, 31 Aug 2018 10:34:39 +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 v2 0/3] usb: renesas_usbhs: add reset_control and multiple clocks management Date: Fri, 31 Aug 2018 19:32:56 +0900 Message-Id: <1535711579-15169-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TYAPR01CA0073.jpnprd01.prod.outlook.com (2603:1096:404:2c::13) To OSAPR01MB2289.jpnprd01.prod.outlook.com (2603:1096:603:1c::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9de1765-2d83-4952-befc-08d60f2d5b5f 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:OSAPR01MB2289; X-Microsoft-Exchange-Diagnostics: 1;OSAPR01MB2289;3:rtCEwATPxLlRMRCfNKP+YF/qmzZijUAEU7d9iaEN5/ZImoKSWIQSps/4UhFY3yyeSWbY60Hmhh9QTF07QLUUg517tXAel5yCxXNVssRXJipfdKl+i9KDCiOZo/jSjKvYcq/l7Yz2FghRqRuOS35eQEZffuhiY33omAV0z0clQvput+rTrfN0zxZZn+NPhfldn8np96KkUw472xRhKZ7YmSPPwSt1T5uXlNf+kZhAvwlh1Vy7li65z21OMmtdXVyQ;25:YXfRDBTiSPHk3N41lPDI0IqIHRBPaRoK1iOvawHpcJk39iOKGoLEfMWKW2LLpqRieG4YjwNC3SL1JTg2+f9mHFeK0+qrqNzxE4WoMvOQjU1s7hywnpjW2oYLe/+xlFGRYdCZL4NTdXlArlDmmOIGrFCaOQ2iZKe6GJUw6W4lF9XJZxBPGz4mBsWP0WQvDtncEFkDkyrT16Z5gNO4ngJrQiJV3lDMZ5baBHFCra17bwk2PDh5h8begW9s8HzOgMBwh2vM70kRYM//A7HV+ns/xJcxsPpbi1DqCPn5hkny5wnnievxw0qiu/RgiSbw6MbEWzt40U2LGRn+f9EdDuBZPQ==;31:haYcqAR8RX89sMbXXgwilu703RIuFDWm9s5sEF0YBUtLAx2td6TJJ1wSPT6eyavmgmP8ryicdz4rbib9hHFvb+jV3ez5WaOEEwPrXkbrR5Nt5XYh7/oZZPjz8lom0qFIl5IJRFIErXEf6xvapS46I1E9MCKsozs66+6/f/h2VUFnHGpJIH7w1/Cs8+xNr++ulpreflj+ziE1VLG/a1gVW/aLHR26bm2WzKmYZYiX46E= X-MS-TrafficTypeDiagnostic: OSAPR01MB2289: X-Microsoft-Exchange-Diagnostics: 1;OSAPR01MB2289;20:/doacfTDrjfxNRI9QIOdIvXwqcfvBhGf0TTXliM+RbgWV20QxIn+zeno+TH8EzM2a89B8V1Q4FRLBEhKZZJlxMDIbFIaNm0P2j9ceEJL5cX45Cnnw1qjya/ran8EirN+nSgMxvOgMo/e6F3KCD7sFfrgJZEyl5JhAwOy8sSSJbBXVoaKinZtnq4CXolkJz5f734SP1Y04vXn0F3ZRWSDjWvnKDbwugaBzBiaqtQmQaK1gzlmf6HTVyQiN3DnhPv+rfMRGxC6Bw9pc02RmdhCNH2tAlwnzTnGLNI5CoPtXG1KoBMIg0ujbwYbk/crWbH6S0LOknd50gG8BmchiK/xvR8yvEZURQZ3DvOzuq6oUVa3kLCYpEdBHc/EGKWfWL85uUIgPCJ2l0xkyRZnJwZGHcpyS9I27551FGA4zJnOISeBqiFYBNZYF3AkMNvc2pAjF5tUJmBws/kpb2tReJ0IZegEO13Fki2WHO9b8BUJjFfj7HiHQA58QD0j5G8tm+Yo;4:gVt5UiKDznO9V8G/k9dUBirXZopVWdmAfJgf95w7dSrgpM3Yw1FiDwHj76ngP47GtW+oVqKt+rcMia62vGy2KEohzRaQePLFlWfPKBmK1oLKq/HY5Bmtg6H63Mn+/91HnC0o6ZP32doGuWYH6m+Fhd6cKA6LXqx1Jnt3QRSYOBcEVSZ7FOLUgSIZaWQVg9i6rylD52KmaygAeFiFZG9uliGZEZp+rJyrR7gIK+PR5/zxRdV5tRWk8KVqDUMyZQ3y2l8lOVm1WqTX06/TdPXnQA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-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)(93006095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123564045)(201708071742011)(7699016);SRVR:OSAPR01MB2289;BCL:0;PCL:0;RULEID:;SRVR:OSAPR01MB2289; X-Forefront-PRVS: 07817FCC2D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(396003)(39860400002)(366004)(346002)(136003)(376002)(189003)(199004)(6666003)(26005)(3846002)(6116002)(50466002)(106356001)(5660300001)(16586007)(105586002)(78352004)(6506007)(316002)(386003)(2906002)(25786009)(498600001)(956004)(2616005)(48376002)(7736002)(476003)(50226002)(51416003)(52116002)(47776003)(66066001)(6486002)(8936002)(305945005)(81166006)(81156014)(53936002)(486006)(16526019)(36756003)(4326008)(966005)(8676002)(42882007)(107886003)(6306002)(6512007)(68736007)(97736004)(69590400005)(3720700003);DIR:OUT;SFP:1102;SCL:1;SRVR:OSAPR01MB2289;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:0;A:0; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;OSAPR01MB2289;23:dSsJ9n27a+IpHR9qLcnTIs6Nmu7XS65CF2e5//MvPJ1X7Ys9wVK/sYToCW1ps2HdAVARfxd+B+kJI/DruJm6rwHVVb/tsrrHIbYGnOT34BUC1XnMEElUaFa07mjyyXNa18DIqhxk6lngifX3YxycLaxbOOeHYQX0eeYZy1Yy8QaHoZBE/CjjJnEw2QqKgwF4bLrwjD04rFBn3LFp43+RPvAGV0Y29l9QkLxGprrgTWYVbyEroI63VeZIwyyXRQ4L4ixODl5btYng+XDJjzpN88OOno5JPU7YZVa7AY66CmEbgBZ7dn6FLxA/Cb84BkiQy+SLkkhpq0VIlQ7vs7HEy7ltxA8ZvamrG0/oUK3iK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1ZR/bo0EJHieRzpyMZFUNCjYcQFA6t5kBT+dJ9TWcmPQVkmV0kJw5hKn8QsEXF23zTMg9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSAPR01MB2289;20:V0gABSaCoVLvngo2B/d5s+PmcutQrpKvQzv7ntrQmQGAUUhbwO9jOPTq4EypCpcRJQ85D8i9LfFWy3RDQgmli13rP5WaVTPcy3WOfwtJWnokEEZVv46CVFtZ612hhnFiXxIynTyP/bgvxtLEtjYbjnnIlcBEFquEelRUo1X033g= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2018 10:34:39.8887 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9de1765-2d83-4952-befc-08d60f2d5b5f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB2289 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 This patch set is based on Felipe's usb.git / testing/next branch (the commit id is 5b394b2ddf0347bef56e50c69a58773c94343ff3) with the following patch: https://patchwork.kernel.org/patch/10574875/ Changes from v1: - Fix error path on patch 3/3. - Use clk_bulk_disable_unprepare() instead of two functions on patch 3/3. - Use staic array of struct clk_bulk_data instead of a pointer on patch 3/3. Yoshihiro Shimoda (3): usb: renesas_usbhs: Add reset_control dt-bindings: usb: renesas_usbhs: add clock-names property usb: renesas_usbhs: Add multiple clocks management .../devicetree/bindings/usb/renesas_usbhs.txt | 2 + drivers/usb/renesas_usbhs/common.c | 47 ++++++++++++++++++++++ drivers/usb/renesas_usbhs/common.h | 5 +++ 3 files changed, 54 insertions(+)