From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65F6DC433DB for ; Tue, 22 Dec 2020 22:27:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2BC2622AAF for ; Tue, 22 Dec 2020 22:27:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728348AbgLVW11 (ORCPT ); Tue, 22 Dec 2020 17:27:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728323AbgLVW1Z (ORCPT ); Tue, 22 Dec 2020 17:27:25 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69A8FC0613D3 for ; Tue, 22 Dec 2020 14:26:45 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id h16so14382410edt.7 for ; Tue, 22 Dec 2020 14:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w7THJPT2rmU60w+DOPskH6aoP7sduDFS77dfdLYEIZU=; b=h+CwsmNz+UUYAshh+EopcCW0ZE3Ddn8dsBvVMc8IdKlLt46OMkA6rTXL4f++nt/zMa 0rVR0tTLFR0v7sKXCYF3o/jqewIDXcX77hY5VHpKiM9zxAnlOXGp9ehQmwh5CMwdpyel VAHAF2P+jFAyrV8R2nHhppr5X8KSgcb2EkZ2HRPjU+vaV60TBn221PxISNt2EBe4IIiF G+7UwEKYa1YkDsxEs/+GxGYLdQud7RzCyEqSruSdk+Yh2h9QZfNuPKtriR/74tFUfvx+ vM9pCJDIg7PBNOs6n6WyBF4n6gVJdpbEZo691kbxO5aTerl/u5pAhtsYljprYq2kAs8k g/uQ== 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=w7THJPT2rmU60w+DOPskH6aoP7sduDFS77dfdLYEIZU=; b=sNM8qki6nDmqOQ4PhUIxNXJjBb0nP4/s1PrpJqGqTzB+7hMXKkphFt/3hbXac6vBMN 8kZHNK/0FgCb/YtYAF8bh/YVb+/h5QSLk8+6qtdIWtxkSZnIqrIMAucE2u9xIsk3jI0A 5Gp51rhXxXesKfmVbfIErA22jM9MUGkx8nQFFf6SbwdAgJRl/CwdDsfcVUt2PtVjYuMi Um9mAsodmMK8O6i6Lpg+AJKghcW3sJ0t3Dy3GZIntyh6cYfFTZbbCuH8Kr7JVUoP6VsU SSaDJ7JWcCS3WIz3hveepgGSMYyRAQ9vAebeuq4RtcyVZr9hFeuEZ7/dIkKiY9t5AFUh OVaQ== X-Gm-Message-State: AOAM531ZWp4RSMGSSQDWwYoYzzyoRlcVzCZ8zMvhZdOzmRFIfQAMJ9nD CppEnF5LzYb/+T0MujTkWVT+ig== X-Google-Smtp-Source: ABdhPJwz8RD/hCOnHNBxhotKvch3DxJ6xlTIWUPkc/Xy1HTxsZhKhXvvw6293WCr7pwBrg/w3whqQQ== X-Received: by 2002:a05:6402:1352:: with SMTP id y18mr22371623edw.178.1608676004134; Tue, 22 Dec 2020 14:26:44 -0800 (PST) Received: from localhost.localdomain (dh207-99-167.xnet.hr. [88.207.99.167]) by smtp.googlemail.com with ESMTPSA id c23sm30515385eds.88.2020.12.22.14.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 14:26:43 -0800 (PST) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, andrew@lunn.ch, linux@armlinux.org.uk Cc: Robert Marko Subject: [PATCH 0/4] Add support for Qualcomm QCA807x PHYs Date: Tue, 22 Dec 2020 23:26:33 +0100 Message-Id: <20201222222637.3204929-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for Qualcomm QCA807x PHYs. These are really common companion PHYs on boards featuring Qualcomm IPQ40xx, IPQ60xx and IPQ807x SoCs. They are 2 or 5 port IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 1000BASE-T PHY-s. They feature 2 SerDes, one for PSGMII or QSGMII connection with MAC, while second one is SGMII for connection to MAC or fiber. Both models have a combo port that supports 1000BASE-X and 100BASE-FX fiber. Each PHY inside of QCA807x series has 2 digitally controlled output only pins that natively drive LED-s. But some vendors used these to driver generic LED-s controlled by user space, so lets enable registering each PHY as GPIO controller and add driver for it. Robert Marko (4): dt-bindings: net: Add QCA807x PHY dt-bindings: net: Add bindings for Qualcomm QCA807x net: phy: Add Qualcomm QCA807x driver MAINTAINERS: Add entry for Qualcomm QCA807x PHY driver .../devicetree/bindings/net/qcom,qca807x.yaml | 88 ++ MAINTAINERS | 9 + drivers/net/phy/Kconfig | 10 + drivers/net/phy/Makefile | 1 + drivers/net/phy/qca807x.c | 811 ++++++++++++++++++ include/dt-bindings/net/qcom-qca807x.h | 45 + 6 files changed, 964 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,qca807x.yaml create mode 100644 drivers/net/phy/qca807x.c create mode 100644 include/dt-bindings/net/qcom-qca807x.h -- 2.29.2