From patchwork Wed Jan 26 22:17:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 536836 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59221C433EF for ; Wed, 26 Jan 2022 22:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233118AbiAZWSL (ORCPT ); Wed, 26 Jan 2022 17:18:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233059AbiAZWSL (ORCPT ); Wed, 26 Jan 2022 17:18:11 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E9B8C06161C for ; Wed, 26 Jan 2022 14:18:11 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id h20-20020a17090adb9400b001b518bf99ffso5630994pjv.1 for ; Wed, 26 Jan 2022 14:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dIYkVQemKDQ2y3bmpym5ZYoIUxFabj5sPwnUV0EmyK0=; b=twxr89mbaTAnP8dq8YFVOzjDl7dJbJgmeoThgAobqg2LYDWbxuYX1Linn83YeirfD3 SgXCZUUjDWEjMBoQwH45P7YFcRIvE4Ym8KF39ctqj+El6c8fRQoN+tYmovajyFRt9o/h 75dOn2d82d4KD8DPDy9Y9UxfywfXGbawIjI8Hp1H/J0IjOz2fipmcgHOT0p2ehYUpqUS gU0Bx5G9E19T9uIKnIlQW6rEamiB9WvR31BzpPDkJ5iNSLQPTYyOcYZ2EexA6sLGXfD6 YWxx5Vn1ibXLhWxuEPooaJTm/YjlG9y4AeRdnjClO6U0ZC4NQYJ8tOD89/6Ti9YOZevk foLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dIYkVQemKDQ2y3bmpym5ZYoIUxFabj5sPwnUV0EmyK0=; b=q67PkATP04E5aqE3nmQBzecM6T1IoM9GOKaRjrr018l1Z7PHcj2ykS/d3bb9T7O7AC VFnuPob25tyov0oP3UUaiP/zkteEohzwC6ZGgUHXWclzNYL6ytOquTa/oj2SSNUyQVkQ PfYRoLOWe5G1XKJjHXCqg3oaNiwKSaKw2y2UGfX+sSS94lhQ1pakSWiN6T+DKfwliA0I xdJJpjiaAEBlmG2xFACPDAbZEXdltcePYAxBti/8K1k76J6jCQhgQFJO/5hwQCY85KW2 ipzJW+lbwlrcfRX46JP7pOsOpLDZjiWPtnKRRokdp+zJxpD4BFtJ3JhLZCOpcQxjbsvm ZKWA== X-Gm-Message-State: AOAM532LKK1R6EaXIven/czVz2EyTJLzpGq6cHdzLWDXi/TO4J4lDCUk iNPl558e8snuSh9m1Ww9Q/fvOg== X-Google-Smtp-Source: ABdhPJwj9zXQUjLBroliCIG3Eo6PSOIGzmIbNf/ymx9psMbfp47HmhIkDtHe9fZysk1LRnZyL3Z++w== X-Received: by 2002:a17:90b:4c8e:: with SMTP id my14mr10841049pjb.243.1643235490641; Wed, 26 Jan 2022 14:18:10 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:4e9b:8fa7:36dc:a805:c73f]) by smtp.gmail.com with ESMTPSA id t17sm4233742pgm.69.2022.01.26.14.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 14:18:10 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, agross@kernel.org, sboyd@kernel.org, tdas@codeaurora.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, bjorn.andersson@linaro.org, davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH 0/8] Add ethernet support for Qualcomm SA8155p-ADP board Date: Thu, 27 Jan 2022 03:47:17 +0530 Message-Id: <20220126221725.710167-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The SA8155p-ADP board supports on-board ethernet (Gibabit Interface), with support for both RGMII and RMII buses. This patchset adds the support for the same. Note that this patchset is based on an earlier sent patchset for adding PDC controller support on SM8150 (see [1]). [1]. https://lore.kernel.org/linux-arm-msm/20220119203133.467264-1-bhupesh.sharma@linaro.org/T Bhupesh Sharma (3): clk: qcom: gcc: Add PCIe, EMAC and UFS GDSCs for SM8150 clk: qcom: gcc-sm8150: use runtime PM for the clock controller clk: qcom: gcc-sm8150: Use PWRSTS_ON (only) as a workaround for emac gdsc Bjorn Andersson (1): net: stmmac: dwmac-qcom-ethqos: Adjust rgmii loopback_en per platform Vinod Koul (4): dt-bindings: net: qcom,ethqos: Document SM8150 SoC compatible net: stmmac: Add support for SM8150 arm64: dts: qcom: sm8150: add ethernet node arm64: dts: qcom: sa8155p-adp: Enable ethernet node .../devicetree/bindings/net/qcom,ethqos.txt | 4 +- arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 144 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 27 ++++ drivers/clk/qcom/gcc-sm8150.c | 105 +++++++++++-- .../stmicro/stmmac/dwmac-qcom-ethqos.c | 37 ++++- include/dt-bindings/clock/qcom,gcc-sm8150.h | 9 +- 6 files changed, 305 insertions(+), 21 deletions(-)