From patchwork Thu Jul 16 02:43:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 11666549 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 B86BB13A4 for ; Thu, 16 Jul 2020 02:45:11 +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 90B8E20663 for ; Thu, 16 Jul 2020 02:45:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EkYCzhIX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90B8E20663 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=yoFBFYZQMRXz2L2f1XW8QaVZ1sgpInOMhpqFW+eqrUw=; b=EkYCzhIX7X340BR80GP0P3kgJY MbXmNFo28BUfwk4glpoBDF5XKk/9mfRjr4JZn/t8+N6acNF/ExcEgkLTeQeDwVy8x1bbAFxndXAlA Ki3lZp+eHqJAkfAl0Fawyxh97Ux2QkvstuWWvRtFDQisywQ+WOK+gR9D06MegR5gW4yOCMmLW7UkY yzRGltRz3k4iAbYQ/TQiJbY8hb1aFLMT/f8eZBzlxqV4plgaKWZS9+UhfoXTQlW5IVGqDQSZ5BX4H Pp7Rf/QuHYiRXk2H54ubz/4hpILtadKnr8wxaMDR+tTN8rg9J7i2CSqGWy1RKEsaz3KOqEWY8RM+Q 9G5RL4nQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvtrp-00059g-8j; Thu, 16 Jul 2020 02:43:25 +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 1jvtrm-00058G-Ix for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 02:43:23 +0000 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 16 Jul 2020 11:43:18 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 83250180BC2; Thu, 16 Jul 2020 11:43:18 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 16 Jul 2020 11:43:18 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id DB3321A0509; Thu, 16 Jul 2020 11:43:17 +0900 (JST) From: Kunihiko Hayashi To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Masahiro Yamada Subject: [PATCH v3 0/2] Add new UniPhier AHCI PHY driver Date: Thu, 16 Jul 2020 11:43:00 +0900 Message-Id: <1594867382-27509-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-20200715_224322_812514_39D796C8 X-CRM114-Status: GOOD ( 17.29 ) 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 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 | 323 +++++++++++++++++++++ 4 files changed, 410 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/socionext,uniphier-ahci-phy.yaml create mode 100644 drivers/phy/socionext/phy-uniphier-ahci.c