From patchwork Thu Jul 9 18:11:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11654875 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 7134514E3 for ; Thu, 9 Jul 2020 18:11:23 +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 BBAD0207DA for ; Thu, 9 Jul 2020 18:11:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j3ln6FOh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="r3oS48CB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBAD0207DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=9NsFzBT8szSzMLbG8zsXmEvmx2Lc7eL25LHQVSk5+Ao=; b=j3ln6FOh5WOCB/gGi0moSB5gIa i652jsqSUveufwHNWfHgY51P2mjHFbTHUsbhhlo5eJ47P3DkRy/0/Su5yGCUH5YdYE1rDB62ypa9i JgzWgVisCn+BjEB8nG84xGN6EkBlWDqneya0rOO+aYPum04e1e8A1OZuSDBwhGrCco14RwXNhF4lt RdQCqHVoTM30fX73iPNHbcoM8o8vKP8V+T6zi3Xr3q3JhGdtWmxk2BWP8uiLr5cWdM9xMuWQrH8E2 qbyut2OGvx/DLakOGiJ1gvfh3SyJa+04Dp/EmfRP7DbPWWqlOqvydfKeWflLN0mWQ558EEASRoWUT 4Tqt0qFQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtb0x-0007uq-8T; Thu, 09 Jul 2020 18:11:19 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtb0v-0007uG-BD for linux-rockchip@lists.infradead.org; Thu, 09 Jul 2020 18:11:18 +0000 Received: by mail-pf1-x435.google.com with SMTP id a14so1361697pfi.2 for ; Thu, 09 Jul 2020 11:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cic0wxXiYXiOPc+UzoZJ5hm7v6XXi2j205H0lFwF3Dk=; b=r3oS48CB9qSHcCb5qDtmOY0hkhoMIbqXZfMMBRHaf9tNtV1lXHBjuv1sTFj/G4mW4Y YBDRikhqdWaoIgkHpPwz8YJArBQ9/XWxUWNblBgKWbHwEbkhjLgBS3l8vWDNV3yjhow4 3nfAazytgGGeoBo1DUA+iLNH6T5YwMk46nPSs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cic0wxXiYXiOPc+UzoZJ5hm7v6XXi2j205H0lFwF3Dk=; b=W0ONr7FucSBj9kgdSTGHryaWh7K683QQBC9fZq6QeON1fPDB00w6Cq5IsbQDoK2CXr BxAlT7XgrO+v8NKgY2YxfxqZmoJLFWw2Qmdz2GuaKZdAbnk7g0XDDxkKp2pgDcV1Dg1Y XiWRoSe2dwMbJo27YmPRFH7OxwFv6RgBUc7pzWpBQ7nx8lXTS0ERWblLb9w0fBfnrA+z j2jZLr84MNo/1F9FSuRuZ5SDS7SEjwSArxShnZKytgB5GfeLzvPVIPMHhM3u6aDqLbdK xQmKqOBBxt2HLWwps94hbOQqHIeUiPtq58BSrlim0kPHi2WXuNDmD668Qbn/4Ddgcc9D IYIw== X-Gm-Message-State: AOAM531S/NwvisleXnDrUkVxi9wANooQutG/+gWzQ6KfN6QkK2lX9VK/ Z0ZHbkiWvo6KII9L0Acb6Z8HkQ== X-Google-Smtp-Source: ABdhPJwXWfwDOOR9gSK0WadFFWracsDhmRwMp9Y9fE11/GDUkpLzm2KfcJCQtRifJhClIhZJgS2ixw== X-Received: by 2002:a65:4507:: with SMTP id n7mr53447251pgq.180.1594318275214; Thu, 09 Jul 2020 11:11:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:a05e:bc35:5722:db76]) by smtp.gmail.com with ESMTPSA id x3sm3450696pfn.154.2020.07.09.11.11.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 11:11:14 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass , Shawn Lin Subject: [PATCH 0/3] phy: rockchip: Add PCIe phy driver Date: Thu, 9 Jul 2020 23:41:00 +0530 Message-Id: <20200709181103.89870-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200709_141117_491665_5354D35D X-CRM114-Status: UNSURE ( 8.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:435 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org This series add PCIe PHY driver for rockchip platform. Tested on ROC-RK3399-PC and RockPi 4. Any inputs? Jagan. Jagan Teki (3): phy: Add Rockchip PCIe PHY driver pci: rockchip: Switch to generic-phy pci: rockchip: Drop legacy PHY driver drivers/pci/Kconfig | 1 + drivers/pci/Makefile | 2 +- drivers/pci/pcie_rockchip.c | 95 +++++++- drivers/pci/pcie_rockchip.h | 141 ------------ drivers/pci/pcie_rockchip_phy.c | 205 ----------------- drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile | 1 + drivers/phy/rockchip/phy-rockchip-pcie.c | 271 +++++++++++++++++++++++ 8 files changed, 364 insertions(+), 359 deletions(-) delete mode 100644 drivers/pci/pcie_rockchip.h delete mode 100644 drivers/pci/pcie_rockchip_phy.c create mode 100644 drivers/phy/rockchip/phy-rockchip-pcie.c