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: 235623 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp406632ilg; Wed, 15 Jul 2020 19:43:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3/jelCYfVtdAto+ooWQtKnSMK1nNJ8sPTl82B4eN4nSfaLiCtzyZ5AnOmhfdo4q54Ca93 X-Received: by 2002:aa7:dd14:: with SMTP id i20mr2505000edv.41.1594867401478; Wed, 15 Jul 2020 19:43:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594867401; cv=none; d=google.com; s=arc-20160816; b=jKleRvIOHq0Pq2g6d9e0DlFSMuTb8cDvC8fLUHcEI32xx84km9VaptRBR7C+t6JxqQ U5s8xc9K8P0QYhR3MceK+MGFUiHf1KtKXOyorbDT8M0j80TjuRfudbnwQMLPpr1qw+so 0c8NuvS1oal7je/Dt5I6Tf34lRPsLqMWB+3kVP1f/Nx6PS12PiXyJO52ER19F5YUoBXG RsFT56nw4uwV+1MsAtQV0uSWi5lwjs5ExuobEo/z7vrIl8X/2BfFBFxc05oMz5/IT+Z8 RD/BT6e4yahBlqsdIWvp/OTCfhlM/ZP/SGfM9xF7XW3PE2HdfSMfhoFDv30Zcu0lFnzC T1BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=+9m0FQq/x1Iu2Fr/lzvxarjut0Fa3E5P+g7egYiQEvI=; b=DyhaonRCMgVkk/SLngPFYX5tkl+tnwBiS+w4fkh39RWT5CTqO13tl3Pc5JZ2+yQT9O BrtX+6VmNWqkXjmsxaIhf5sewm6Hb+5VZkWpEBLULiDhhTJ6U8H3pfsxBiOAbjiDl4z9 8G4H6HN8uj0Y5PonamDTqQuQKaXIp0LJktdTec9GTr1BaingFweI6xPyvR9duudyKYSf PEP/wZxfIqf/n4U67xdTx5qJUaKc58XiGe3juiXKr59+IqyRO00yxm+ZoqHy3d+AXDMR yphQ+iRBU+U25ltVb+BbN6YGRU5fmMYFSC8BFPvwHAbQGjF7B2DAGkxtiflrjFNNLS6/ EJew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n4si2120752ejg.426.2020.07.15.19.43.21; Wed, 15 Jul 2020 19:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727891AbgGPCnU (ORCPT + 6 others); Wed, 15 Jul 2020 22:43:20 -0400 Received: from mx.socionext.com ([202.248.49.38]:52330 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbgGPCnU (ORCPT ); Wed, 15 Jul 2020 22:43:20 -0400 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 Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 -- 2.7.4