From patchwork Tue Jan 19 10:44:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 367312 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56DF6C4151A for ; Tue, 19 Jan 2021 11:39:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 23DF5221E5 for ; Tue, 19 Jan 2021 11:39:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389915AbhASLck (ORCPT ); Tue, 19 Jan 2021 06:32:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:45136 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404494AbhASKp1 (ORCPT ); Tue, 19 Jan 2021 05:45:27 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7DBC623133; Tue, 19 Jan 2021 10:44:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611053086; bh=rjcTlAC/ryp0e09HlnT0QF/xECvHei8ZjA0QvbaxLI4=; h=From:To:Cc:Subject:Date:From; b=u9NBfYuKtP60Phebz8NRNodkxGaG8wIyIW/E1TTdRqgB1Lr5jpbxY0THwAbeqvR1d amGecAkD0IvE5dxxaKW+JYh5XALCL13qLbzl1mMh+VaPNgxzoeip3aN1q8/lr9wUqr wyZf6hC3PtiJZgTUDWQRmMCP4KZI31ngcSevAwht9aDs1e4CkYQYilHiIwlpMnOG5y jEp7p8Iyp8zHfuayxfUtqB7Y+ghp7O7K8J/5wkdI5vL6nX1H5l9hw0FX4WYbfGRbt3 2KcSU1587oBSi1B1WXMLIb/yKh7pBaYTkhaGzPBh2DfL8duXyaS3kVsJ6sFDJ61j8F kQzyJAqvEovrQ== Received: by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1l1oVA-000u2D-2h; Tue, 19 Jan 2021 11:44:44 +0100 From: Mauro Carvalho Chehab To: Vinod Koul , Rob Herring Cc: Mauro Carvalho Chehab , Alex Dewar , Greg Kroah-Hartman , Kishon Vijay Abraham I , Yu Chen , devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/5] Promote Hikey 970 USB phy out of staging Date: Tue, 19 Jan 2021 11:44:38 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Vinod/Rob, This series moves the Hikey 970 USB PHY driver out of staging. Patches 1 to 4 contain the fixes from staging. Patch 5 moves the driver from staging: $ git show 82ce73ac9a38 --summary ... rename drivers/staging/hikey9xx/phy-hi3670-usb3.yaml => Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml (100%) rename drivers/{staging/hikey9xx => phy/hisilicon}/phy-hi3670-usb3.c (100%) I opted to use --no-renames on this series in order to make easier to review via e-mail, as the entire driver and DT bindings will be seen at the last patch on this series. v4: - do additional changes at the hi3670_is_abbclk_seleted() function, fixing the typo on its name and reversing the bool return code; - the yaml fix is now on a separate patch. v3: - no changes on patches 1-2 nor at phy-hi3670-usb3.c; - yaml renamed to: hisilicon,hi3670-usb3.yaml - Added a blank line after maintainers at hisilicon,hi3670-usb3.yaml Mauro Carvalho Chehab (5): staging: hikey9xx: phy-hi3670-usb3: use bitfield macros staging: hikey9xx: phy-hi3670-usb3: adjust retry logic staging: hikey9xx: phy-hi3670-usb3: hi3670_is_abbclk_seleted() returns bool staging: hikey9xx: phy-hi3670-usb3.yaml: add a blank line phy: phy-hi3670-usb3: move driver from staging into phy .../bindings/phy/hisilicon,hi3670-usb3.yaml | 73 ++ MAINTAINERS | 9 +- drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 668 +++++++++++++++++ drivers/staging/hikey9xx/Kconfig | 11 - drivers/staging/hikey9xx/Makefile | 2 - drivers/staging/hikey9xx/phy-hi3670-usb3.c | 671 ------------------ drivers/staging/hikey9xx/phy-hi3670-usb3.yaml | 72 -- 9 files changed, 760 insertions(+), 757 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml create mode 100644 drivers/phy/hisilicon/phy-hi3670-usb3.c delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.c delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.yaml