From patchwork Thu Sep 6 05:50:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10589893 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 2C63A6CB for ; Thu, 6 Sep 2018 05:52:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DC982A382 for ; Thu, 6 Sep 2018 05:52:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10FEB2A55B; Thu, 6 Sep 2018 05:52:03 +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 A357C2A382 for ; Thu, 6 Sep 2018 05:52:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725981AbeIFKZp (ORCPT ); Thu, 6 Sep 2018 06:25:45 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:22018 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725850AbeIFKZo (ORCPT ); Thu, 6 Sep 2018 06:25:44 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 06 Sep 2018 14:51:56 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 20E5D77F96; Thu, 6 Sep 2018 14:51:56 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.53,334,1531753200"; d="scan'208";a="291703403" Received: from mail-ty1jpn01lp0176.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.176]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 06 Sep 2018 14:51:55 +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=7taVzxoKPZXoql4yS/YxoI0NkhP6QRgAoEpq6HjTXEs=; b=DtWtTu1wS6M10hqhAnZ/gLVYTjaQijWiI6hbMrjVLfw32FNZ2iHIUFSsLgBVaT4IXpE6ryjaTk5Vz2zokSecmgy4s8/mwjD3/jkqC8cN+ZKPqYpXfsSmdrFu2OoFSKkul+nB6z+4LqhszqtR6NtEZV49D3cl5eNK89z9Co5LwqQ= Received: from localhost.localdomain (211.11.155.144) by TYAPR01MB2304.jpnprd01.prod.outlook.com (2603:1096:404:8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.16; Thu, 6 Sep 2018 05:51:52 +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 v3 0/3] usb: renesas_usbhs: add reset_control and multiple clocks management Date: Thu, 6 Sep 2018 14:50:11 +0900 Message-Id: <1536213014-1325-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: OSAPR01CA0158.jpnprd01.prod.outlook.com (2603:1096:604:d::26) To TYAPR01MB2304.jpnprd01.prod.outlook.com (2603:1096:404:8::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 05d02781-3f8a-4871-5fee-08d613bcd889 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:TYAPR01MB2304; X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2304;3:1ruk32kMX3AP+psJmsyjPBXKJOBBSB3p82HE/gHJDLATbWubXiiw5J3a9+QQqZCU/UR4w7kScExVn33Tc9hF3WOHPoEsk3/YcdP2Bz7oain409b8w/m+1bnYWftV1ythSH9q5tprQp0yLefwe6Z1QBn+kNM5uM6c+J8Fd/dzSbSHmBfLNBaNOnfcZOVHeVL/+Oj4jV1CP0Wvmmig0mwRmGcKEr1awTl9mLtjk9RO+We34OiBxlBtNN+JrWRw1Z2K;25:w0Of5ruen1T6Htfs2vBzRrpg43Ft8/jgM5jhuP7x+/aZ1MFdpQehPkN9ktBroM4JOJqpY7DWFqvb5ruFUXvd9Yyi579CxKhVdP8izD8cV2xni+YILKv7C59mcej3iM56pKbhKLFaHUAIrezG2w0I7770Hc9ySA5rKwMToArFm9r5a/9ECtmecciQXrtvDX6NA6uAI1iOxRGTjAyCj0A2Jb6v9Mys0554uwUrTSPqSPqAT8B1HjYnt0qUp5gtyG+gShfqlI8aTXuq25pgCQXMKUWPCWrEdvz6aAADs1OEYXEaLQgZvABz2lWlw/ZlxMthREQ7GXyanRwU5OG88Na7sA==;31:sZQRToSa74vIoEMj1C8HtyCkOBVEDnzXHkASMO6tfHMjPyMCp0xwP7yV6Xw71ZplEmjOackktD/tM3Z6oiC5F7wh94AQnDwscx4EutoE3/7whqMnrwFdiKmNJvHVhJrBgl3e2sY/9aEN75V+25zaYeJRvcMDY6Nj5AOKYURm4AV4eTBux4SS+79YSyj5I7tYnEcIvfvw2UTAIR9oX3XRpx2xMUdlttkaSOzoQ0DuAvI= X-MS-TrafficTypeDiagnostic: TYAPR01MB2304: X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2304;20:vEhz8uFJRCKSfsQP+3oo9ULvsLoc6X7SekPCbk+nkhSSI8s1Y2t2rTloUTYXbv/VcV7zA5+9uYoaSbUWbVL2rI46q18aNXRrvEF69qPzJ66oKbP0ZuVo7Pv1t8zoJXt1yu3G+mlqwZZwOEUwqSkkqaxgKGj72WX6Ks2nBs0daeTmM2qapLNehyu9J3cmfTbJJ0lVKjDt90o0u0fgsujZcoizXLiNM7GHFgKeDeWjBTZNo32RJzsuBom5wX4+rA6ez9ibb9hUZ2QtWfXuEhbainFw+lTSoh/z84oV/Z0MRSizCXpMMn8nSb4LnEaWiTKqVwu4liI95upT2G+XHeXyubMPRp0ddB9xjgHozXoaux3a7H2rSl0wPLawgL2yD45X/LJcW229Fjo2LSiC5WP0uVuIvhzm4emY/Smw3DAT2sSDPY0G6iIx5xz2LHXV7XPdi7XZ4cmi4vS5gpvIP/ldiScn9U8u/XRXve8IaydYiEGZcwjhcIUCe3fCq6KiZivz;4:o9PwRdUrTNQfcjRDifM5kesepOZqJ9bGwV/qMnYbuzYgjj07rXeeGuy+csf1bq7Orx4QBoJyuKjmDwwmJXSQHMWzv7VtSkZYkVC9HfRbEH6YtRkw2dg8iUHZFGIhKajSPiCnwPUeG+Objh7/ZR41d8kiWmd34JQSv99oWtwzQeIQH901MAplQ5wyhtIvLNND8vX5lGKnUaQ7LrxVkNRmFUFEUwqxsPLZ/LdX3f7/FfkE3y3/bPyWyCcjAlPe0GzQySAO9uxrr52zGQhITsvTQg== 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)(8121501046)(5005006)(823301075)(10201501046)(3002001)(3231344)(944501410)(52105095)(93006095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(201708071742011)(7699016);SRVR:TYAPR01MB2304;BCL:0;PCL:0;RULEID:;SRVR:TYAPR01MB2304; X-Forefront-PRVS: 0787459938 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(366004)(346002)(136003)(39860400002)(376002)(396003)(189003)(199004)(52116002)(2616005)(2906002)(106356001)(16526019)(476003)(105586002)(6506007)(386003)(498600001)(6666003)(6346003)(51416003)(50466002)(5660300001)(3846002)(6116002)(68736007)(26005)(966005)(316002)(16586007)(25786009)(78352004)(66066001)(4326008)(107886003)(7736002)(305945005)(81166006)(48376002)(36756003)(42882007)(50226002)(47776003)(8936002)(53936002)(8676002)(6486002)(6512007)(6306002)(69590400006)(486006)(97736004)(956004)(81156014)(3720700003);DIR:OUT;SFP:1102;SCL:1;SRVR:TYAPR01MB2304;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) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2304;23:seu1hdJQO4akdnv/oM0FoBxw0WfhSRDNSKC3oxc9Qj0FvOfpvkVAbiao+FGf3NNGelkX5ltx4N7aCrCGzejIREEOir3+QVQwRhkuJzbnuUK3Q7RdIVg3BT3B9JH3mvRSfXkfxxp3GX7fCsqIo1rNdMBK9BnPb4UoWJ+U2s//SOqYVo0ALd5DMMWXMPXNeD0cPFATx5ZDlSi01uLUA665zRtYSEW0Il/iB69McY3YbC3JvSylHkqUeKBvN2Xf+gA53FoWAKE3miGrCqxqhtJwKC7NUts0NLkfaYQ6cXnUEiEi7xe1C+Xvv+2d4sh/VOHUR9sOAe2pbaqCNpKSfPoMN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opAcNqyFJfkcrVkMRLlrrrk7VCqtOwN2LDcxbI/YnuC9jdTOOhqQjewHkiPpT/ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;TYAPR01MB2304;20:rDki+6e1lWzJvrsrW/OnhDTW8pKASwP4JOPGsFIwO7bdZ6c45PkdgBFtlVub3n0LCXIhSnjqzuuNp7I63OJw5Tm4loKqCo3SuRgqZRbzfxyhttgKRJng/SU/UWKQe88e0L0Iwiy+MAqqvuLIhSAyRPPgAYb2i2jk7qHJxudEVfU= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2018 05:51:52.4664 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 05d02781-3f8a-4871-5fee-08d613bcd889 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB2304 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 v2: - Use clk_bulk_enable_prepare() instead of two functions on patch 3/3. 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 | 37 ++++++++++++++++++++++ drivers/usb/renesas_usbhs/common.h | 5 +++ 3 files changed, 44 insertions(+)