From patchwork Tue Aug 25 10:41:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 11735501 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C235B13A4 for ; Tue, 25 Aug 2020 10:41:37 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99EAB20706 for ; Tue, 25 Aug 2020 10:41:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IzrmNZpf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99EAB20706 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=j0/t6eURDC/LpuaB57wb3UIstbmJtmR2mfN4yFlxiyY=; b=IzrmNZpfMlWaG2bgi1ERkcO5+2 R9n5kUco7naIxGL1+YnXkplgZ/WOOQFdT52Wu9SWOX/UPkFKR3h6eD6W/iQys5q9uTNCgXBwIzlTk xafqvmG2N725n/BIaxy5TxLg96ZHLFwvLXjHZxvuIW+JhyDR4aKrckjMUFgwifEqWAPHzH9jkl4ok nvJOlCzCrcdkfp3FzIzy6doX6QgFJ6wTx4yHefYmVXJ5g23IrcrVoO5vzmHfZhRG5b4Xqh+1LDsR4 H1i8bJNO80rdNUOpgQAXjFhkyEsKLiY+8N7I1cX98ApuQJLqz14ab7o9CHNNyrR+c/C1GXKq55RbH cZtRjJJA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAWOG-00062E-Si; Tue, 25 Aug 2020 10:41:20 +0000 Received: from mx.socionext.com ([202.248.49.38]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAWOE-00061C-E6 for linux-arm-kernel@lists.infradead.org; Tue, 25 Aug 2020 10:41:19 +0000 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 25 Aug 2020 19:41:16 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 5ECA960060; Tue, 25 Aug 2020 19:41:16 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 25 Aug 2020 19:41:16 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id B90BF1A0507; Tue, 25 Aug 2020 19:41:15 +0900 (JST) From: Kunihiko Hayashi To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Masahiro Yamada Subject: [RESEND PATCH v4 0/2] Add new UniPhier AHCI PHY driver Date: Tue, 25 Aug 2020 19:41:09 +0900 Message-Id: <1598352071-26675-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200825_064118_657405_C75F031E X-CRM114-Status: GOOD ( 15.34 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Kunihiko Hayashi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series adds support for AHCI PHY interface implemented in Socionext UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs. Changes since v3: - Eliminate a meaningless blank line and a line break - Fix misspelling Changes since v2: - Adjust copyright year - Add helper for enabling the controller - Remove redundant .init in uniphier_pxs2_data - Add comments for dummy read accesses - Fix return value in uniphier_ahciphy_init - dt-bindings: Add Reviewed-by line Changes since v1: - dt-bindings: Fix items in reset-names Kunihiko Hayashi (2): dt-bindings: phy: Add UniPhier AHCI PHY description phy: socionext: Add UniPhier AHCI PHY driver support .../bindings/phy/socionext,uniphier-ahci-phy.yaml | 76 +++++ drivers/phy/socionext/Kconfig | 10 + drivers/phy/socionext/Makefile | 1 + drivers/phy/socionext/phy-uniphier-ahci.c | 321 +++++++++++++++++++++ 4 files changed, 408 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml create mode 100644 drivers/phy/socionext/phy-uniphier-ahci.c