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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E157C7EE24 for ; Mon, 1 May 2023 20:52:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232698AbjEAUwO (ORCPT ); Mon, 1 May 2023 16:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbjEAUwL (ORCPT ); Mon, 1 May 2023 16:52:11 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F32210E for ; Mon, 1 May 2023 13:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682974286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MGG0ntCow/QlbibW6t17IUqC8Xi8ZkqGV/oovhxkl0U=; b=YvIuHWGPjxaDTy5KHeTYuJbxvqTZqcNJiLTjHc592no7Hj35nG4nbKYX5gh7WWlZrK1quY 9iOOPs+WUyCc7Gf5TdDfCa6dJTGGFNLTwCenFTh+rjW2BC9runCxl6TbiFKoKwnNmFM7As 1fVfo2GeBHJQuVTs8R8BzsmWEnrImHE= Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-616-px_Ja9FWP0WLCNCNY7C91A-1; Mon, 01 May 2023 16:51:25 -0400 X-MC-Unique: px_Ja9FWP0WLCNCNY7C91A-1 Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-191896a9d1dso556776fac.0 for ; Mon, 01 May 2023 13:51:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682974285; x=1685566285; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MGG0ntCow/QlbibW6t17IUqC8Xi8ZkqGV/oovhxkl0U=; b=PbTbRMxghEVulNUa5D0pLyUAzjzXB0vczSaL2BQ3mOM1EWbqbDINWnTxAnd7R6pT3n MhoOH+MVk4A2zuSGzLL8ieV0CvtRg+1Oa6cCPVhYm001oit9OggD8R0x0QXyJgw4ga7z ACUefoVhsvyuox31bvs4/Icp+Ug6f7oyrMidXS3XfofCURsB6LlM9KM2OZ8SJPQdqFru 6Qu5ZhLjJ9GR1VEUsTYklGPXZeFVtYfics4HKUrhvRJdPTdiVUW1Tdz0ogR36RG6r7zO mmzYjU2XrIeUdI/JpscL9isNghoS3B5Fjb16AZIS7oypKzczNWrzQY9NZJ+VABp8G6cl kxeQ== X-Gm-Message-State: AC+VfDyeoqzyYNGtvVMz+4yfHHq+vCeVqeN4oArBIpNeg53JWJXDe8oV 3cCV8arfi0UyAyFDEmJxuzlwsgbswzcsdWU5QeLV25FdlH+9zXaXRHr2rYVqz5+L5P68IsyZwcp /PkpH7rQcDyIO3C9g5rr6tWHfB/M1HK2Q2nfvtKavFZ8L4IY53cBlhTJieRgrIgqLD/PPVzpHkG le7XWhiEZz X-Received: by 2002:a05:6870:5382:b0:177:c0e4:1bd2 with SMTP id h2-20020a056870538200b00177c0e41bd2mr5434451oan.52.1682974284793; Mon, 01 May 2023 13:51:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4xrt4fm/7NX8qu/7kFtrE4UnLCYzu/sTudSj3ERVNxEHC2BNrlTT3atPqynD+G8W2tFuHDzA== X-Received: by 2002:a05:6870:5382:b0:177:c0e4:1bd2 with SMTP id h2-20020a056870538200b00177c0e41bd2mr5434437oan.52.1682974284479; Mon, 01 May 2023 13:51:24 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id c10-20020a9d67ca000000b0069f153bb37asm12110130otn.62.2023.05.01.13.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 13:51:24 -0700 (PDT) From: Andrew Halaney To: linux-kernel@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Andrew Halaney Subject: [PATCH v6 0/2] Add EMAC3 support for sa8540p-ride (devicetree bits) Date: Mon, 1 May 2023 15:51:03 -0500 Message-Id: <20230501205105.2518373-1-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a forward port / upstream refactor of code delivered downstream by Qualcomm over at [0] to enable the DWMAC5 based implementation called EMAC3 on the sa8540p-ride dev board. >From what I can tell with the board schematic in hand, as well as the code delivered, the main changes needed are: 1. A new address space layout for dwmac5/EMAC3 MTL/DMA regs 2. A new programming sequence required for the EMAC3 base platforms This series addresses the devicetree changes to support this hardware bringup. As requested[1], it has been split up by compile deps / maintainer tree. The associated v4 of the netdev specific changes can be found at [2], and is merged. The clock patch from this series was picked up from v5, leaving just the devicetree bits here. Together, they result in the ethernet controller working for both controllers on this platform. References: [0] https://git.codelinaro.org/clo/la/kernel/ark-5.14/-/commit/510235ad02d7f0df478146fb00d7a4ba74821b17 [1] https://lore.kernel.org/netdev/20230320202802.4e7dc54c@kernel.org/ [2] https://lore.kernel.org/netdev/20230411200409.455355-1-ahalaney@redhat.com/T/#t Older versions: v5: https://lore.kernel.org/linux-arm-msm/20230413191541.1073027-1-ahalaney@redhat.com/ v4: https://lore.kernel.org/netdev/20230411202009.460650-1-ahalaney@redhat.com/ v3: https://lore.kernel.org/netdev/20230331215804.783439-1-ahalaney@redhat.com/T/#m2f267485d215903494d9572507417793e600b2bf v2: https://lore.kernel.org/netdev/20230320221617.236323-1-ahalaney@redhat.com/ v1: https://lore.kernel.org/netdev/20230313165620.128463-1-ahalaney@redhat.com/ Thanks, Andrew Andrew Halaney (2): arm64: dts: qcom: sc8280xp: Add ethernet nodes arm64: dts: qcom: sa8540p-ride: Add ethernet nodes arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 238 ++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 60 ++++++ 2 files changed, 298 insertions(+) -- 2.40.0