From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0FD53C0635 for ; Thu, 27 Aug 2026 12:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787833306; cv=none; b=Qc5eV6pf9v9Rf1ld951lHGFKbiDK03jzcimYkrTCHiv6GiYAK7aEvqNKSuKF+gnBR+IptlKzrF6smVmMPYhteqZ7V1hMdmZivs2HFDasMnYTDxcPjqsQf2caBwp5aerrXtlLxpYnk4nmC5oXdsKgwdJ11gQ7IDETTLcx877B+BE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787833306; c=relaxed/simple; bh=eEcQmBPCvUB+6qPL2Lldpzqrdikone0Q9TfnXXG9Wsc=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=hx6q0XsgdazgoHo+2OekMqKJHXZFXA+XxyHKdPR0pmWB8PcYrTgFkTRG37tSL/r/rNl27zRsVoPTJpJUu7ofARAtUnFuPtPSWoK27HQaSYSUtiewWUl/+V3Sy4I37ElD8ytkkEdZOdjUOwzSbD7oeG5/0GInRLtcMshx3ZosgCo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dp/ThcPg; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dp/ThcPg" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-49556f97a9dso4456425e9.1 for ; Thu, 27 Aug 2026 05:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787833303; x=1788438103; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=i4ukql9tjc7O2uHiUIhyqjgrtBoEY/j9Aw/McRizAKQ=; b=dp/ThcPg19QFxxhDI8Kl6TweGNTfSPCHD4A9bEXDk0ArsHvM987vMfPhgFslJAi1WC kFK3duPO3OjrvWNE4m07kOUqGklAf/SaHaumm9HK6MwarffV9YQiSM0jfh5EUajHQbQ1 Hrru5iP99X/2v4MED/7r2kswf9JlwfSd0Sn1PRtolOy9g9RZK5auN9EYzDC0/QPT4FjV A0HG7HpogGelx26i19URKY1lnLd+80JsKphi84mJrBOp+o04E296epF2DQK+D8L6hDtE HlfilLUu9USkuPjiR8knxUVSdkDr3GI9Vuxfi4y83Fp8ZKqmUN5UZ8wqjZWloY9A1MU6 CJRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787833303; x=1788438103; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=i4ukql9tjc7O2uHiUIhyqjgrtBoEY/j9Aw/McRizAKQ=; b=E3AT5EnAZvqc4u47aoGSO4QYXWSf9WJQXVP61rujJiixFoJ+kVkmxHMxET+O5mvbOH 9bx+vee/On1DczAKRRMLGN6myxxTcwqn80U5h/YPzxMJOH1OpTTubl5toCCihU1xmoeu W6hD5ydhSwJVDqtq7JKf9C7GuH5xG/oVtHeJPGhKbtUl1EFMlBkLGGTr8i7U6FrdEydh NrzMCJho/55QZoTcSW8rYyxaiL4qS/774h1DnJ2DvLVzL73mTV1IH0BlddaWNDf23Fm6 4QKIrS17J1N49x2f9AInrzpRVzFMhq5y3DMl65GUFMXGp0bXwdCqrUeXe6E2PfLF92ry cpew== X-Forwarded-Encrypted: i=1; AHgh+Rp8oWCQ7sjExGL1r/eeUhDVdLgsUpPfofZsWLeyw42IKeVR5msLJYtan36NOYpMHvyN6VligettgNNdZsg=@vger.kernel.org X-Gm-Message-State: AFuF++kxNlUcrKY/MBcj4JSG6qpyYYGNlDTsevcPi8jkrojVV0cT7gyL AZwxHHHOnvu2p+d8yrhX6y/LBNazz4/4tsXBU756Px8k5TOSd1w1hL71 X-Gm-Gg: AR+sD11u+QyS6vQ6dfxrR1UyannONkkgadR6GVYDYPQMyLrQwZ2jdoVlGGmKSbidlb6 y3j4YK9Je/qZwjnOVCEqkbJLTtaNYOzb6hYGl7HmY67TaFsJjPkNRY7mwKD5GERXYhshYPvx2Cv 14HEuooK9nLd2KNnopHOsv7BI4fr06UnoIu3fvUGEpWVJxl1obU1r8bBabolOrDbueTTMiFegZF TDZn8GR2j37auUMbb2gV4KztEbXGxA5d4Ji/rSlXxc26G/SLW2UfeGlkkJTX2USYjzXyhgnaSJm LFJNv2UBEOYIyilxtXuTwvKmVtAi/4ylWuk8pI39Fg0H0W8gv36eOw++qh4aNksDR3hjV6QaOdy AoUL1YiZ84hF1b9JXYUj5OMo7MDnG8t+RuKOkwSEn3SYnIIOHejhWFRHzUl+aexqI0J/ZNoeZJz AjSeGlc93WlfLEwxKYPzXSY7LBc8alXQO23V/YcpytDihEIxrFuO1t9/Cd2BoV1FZfJOJKL8Zon 0Rzk01xkQ6OZpBpl/1BdJqPTeaUcN6CXp1MdnsKN4fNf9Ijl6HfhQ== X-Received: by 2002:a05:600c:4e15:b0:49b:8e8f:a409 with SMTP id 5b1f17b1804b1-49b8e8fa4a6mr49907815e9.13.1787833302721; Thu, 27 Aug 2026 05:21:42 -0700 (PDT) Received: from Ansuel-XPS24.localdomain (host-79-26-252-140.retail.telecomitalia.it. [79.26.252.140]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-49b465226d8sm50099535e9.0.2026.08.27.05.21.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2026 05:21:42 -0700 (PDT) From: Christian Marangi To: Christian Marangi , Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] phy: airoha: add support for AN7583 PCIe PHY driver Date: Thu, 27 Aug 2026 14:21:19 +0200 Message-ID: <20260827122127.18874-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This small series introduce support for Airoha AN7583 Gen3 PCIe PHY. It's not possible to reuse the EN7581 code as the register changed between the 2 SoC and also the setup method changed (different calibration logic) Putting the PHY in a dedicated directory is also needed for other series current pending that will add USB PHY support. Also a dedicated schema is added as the register names is entirely different compared to EN7581. Changes v2: - Drop move patch (handled in different series) - Rework to regmap implementation - Rename files to more specific name - Add .exit logic - Drop QPHY in favor of external PHY handling - Update schema with new requirement and improve example Christian Marangi (2): dt-bindings: phy: airoha: Document support for AN7583 Gen3 PCIe PHY phy: airoha: add support for AN7583 Gen3 PCIe PHY driver .../phy/airoha,an7583-pcie-gen3-phy.yaml | 65 ++ MAINTAINERS | 8 + drivers/phy/Kconfig | 1 + drivers/phy/Makefile | 3 +- drivers/phy/airoha/Kconfig | 13 + drivers/phy/airoha/Makefile | 2 + drivers/phy/airoha/phy-an7583-pcie-regs.h | 377 ++++++++ drivers/phy/airoha/phy-an7583-pcie.c | 815 ++++++++++++++++++ 8 files changed, 1283 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen3-phy.yaml create mode 100644 drivers/phy/airoha/Kconfig create mode 100644 drivers/phy/airoha/Makefile create mode 100644 drivers/phy/airoha/phy-an7583-pcie-regs.h create mode 100644 drivers/phy/airoha/phy-an7583-pcie.c -- 2.53.0