Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2472496rwd; Fri, 16 Jun 2023 04:17:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7d/t5Jt+BvKbUMPdmzoN050G1qUP9VQlzbjMjHQJttOJGL+zuJX/CrFprFYAT/QikQKGYG X-Received: by 2002:a05:6359:63a8:b0:128:9ba2:9ec2 with SMTP id sg40-20020a05635963a800b001289ba29ec2mr1473064rwb.7.1686914276443; Fri, 16 Jun 2023 04:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686914276; cv=none; d=google.com; s=arc-20160816; b=t7cSnWJ/EQpzE/B+Bfu4p+am54cfBtm3/ugX/RrqDO+VeYOsjB6ArevWu38yV6+Qgu bPTdttUv7P2P/8Q+mDA3BV9HmCbdSfX78LnC3kQw/3beZaaW7hcDrg5JIQ/JkPPduHSu kQVwEpPPRLxJHHEUBvrg8iEW+ZkwzBJpucUyvdDO9Eeg6+qZMiOMzLOP9cpkAcNDoFMn hkmZSbc6011dhKNEkumARfsbFVOAMHyr3OhXpTaymPnXlZCZpzP1T0YvC+D10UTyEB9R 6ledkgtccy4p15trDOe/qqdb14DQHd0FMWwJe/9LUHYbCCxAN6h0uq54oDFT6bgQKpxl 5tnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=UvVKFXPd25BgyLr0UY6m+y7opf2hhkePzJD4W/cK5MY=; b=axUZuCbSR2Bo9p4QknoTrhUxpbYxs8Xj4HH9DJPQvPF9DygqtGlhdsn8rUsdRqm/DY adiVIzIQxFwk91+IKXDh9Cpk/JwFOV1U+TOCBT00A22k0/Q56uz79orqiu8I57wk2e05 QhAYrjNfEClKl7hP81+lq6uDFnRu3fxiaHRtmeGECsdjqKsvOy3/Ygu/U+QjZgzh7HxM a1zES3MNiymOJt4nFL/0yM9LuOANCLU8LWS/oXUMRgOiHTf1+PEmtlw95/jx3DatFbXT rRvRQcn6BX/Zx8ejt4RxQZrcFcXste4Tdq0EkRiBvK/yEIA6y7LCL5N+ODsH55Q4jnpb 8bag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O4eqVxLn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v7-20020a63b947000000b0052c2904e37dsi14563496pgo.362.2023.06.16.04.17.41; Fri, 16 Jun 2023 04:17:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O4eqVxLn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344085AbjFPLLa (ORCPT + 99 others); Fri, 16 Jun 2023 07:11:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344143AbjFPLL2 (ORCPT ); Fri, 16 Jun 2023 07:11:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAD671A3; Fri, 16 Jun 2023 04:11:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 01CE560AB0; Fri, 16 Jun 2023 11:11:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24BAFC433C0; Fri, 16 Jun 2023 11:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686913886; bh=GKTab9L2VWdXdRBZM/fEy5PbfOwIRgbSHgrdzlJCr9M=; h=From:Subject:Date:To:Cc:From; b=O4eqVxLn/H806pDJrVdHDxLHL4iDEw041a3vg/UMEXb5xz8KJvzNKw+h+3Ag7xy6D WXpg9mLuIPhHw26hOK6qIbOOJxboD8DCTlauxpk/iw4JfTn26G1wYVDP8rcBnTyz/J k8RJcVplot28eZgEpvo1u+4ib4zdHLd8WqELK+c6SAWSjdUdR/RdwDH+e5jrVgXnmb E1tTySH10GYrje8PbcQDZhkrYRbD61ES8YZElJadLcDux1fsh3T2YdYVdkwxQZKFxb QuQFE/RkJlUlTOpchMzFlCKopCRSvmcGYfe/z48kHVrM6Ff1TbV8ZwYZgnhwsu4+7l OhJwvXJETB6Eg== From: Michael Walle Subject: [PATCH 0/2] arm64: sl28: fetch the ethernet addresses from its EEPROM Date: Fri, 16 Jun 2023 13:11:20 +0200 Message-Id: <20230616-feature-sl28-vpd-dt-v1-0-c5458016ba85@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFhDjGQC/x2N0QrCMAwAf2Xk2UBT2RR/RXxI19QVtI6kDmHs3 +32eBzHrWCiWQxu3QoqS7b8KQ3o1ME4cXkK5tgYvPNnN9CASbh+VdBe/orLHDFWpAv3gZynmCK 0MrAJBuUyTnv7Zquiu5hVUv4du/tj2/7zbVqnfgAAAA== To: Catalin Marinas , Will Deacon , Shawn Guo , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Michael Walle X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After years, NVMEM layouts finally made it into the kernel. The network devices on the Kontron sl28 boards can now fetch their MAC addresses by reading the onboard VPD EEPROM. Yay :) First enable the layout driver (as a module) in the defconfig and then add the dt fragments. The second commit was already applied once in commit b203e6f1e833 ("arm64: dts: ls1028a: sl28: get MAC addresses from VPD") but had to be reverted in commit 916508c30e22 ("Revert "arm64: dts: ls1028a: sl28: get MAC addresses from VPD") because the NVMEM layouts series was dropped. NVMEM layouts will be included in v6.4, so we can now safely add the device tree fragments for v6.5. Signed-off-by: Michael Walle --- Michael Walle (2): arm64: defconfig: enable SL28VPD NVMEM layout arm64: dts: ls1028a: sl28: get MAC addresses from VPD .../dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 12 ++++++++++++ .../dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts | 2 ++ .../dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 8 ++++++++ .../dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 2 ++ .../boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 17 +++++++++++++++++ arch/arm64/configs/defconfig | 1 + 6 files changed, 42 insertions(+) --- base-commit: f7efed9f38f886edb450041b82a6f15d663c98f8 change-id: 20230616-feature-sl28-vpd-dt-17a5b1021dfd