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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 83690C27C5F for ; Mon, 10 Jun 2024 08:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2yxnxTjKB3PgdIYCxQHpCq6wikvQFlH3uhznZIK0DJM=; b=CsxISO8MULL8FG bMRp1CCB5x6OG+/gAhQA64ywfBMoNXVNE8Pmt4rvhzLx0zGVYdGOu8BLHTSpyJwDAfBK6c49NGJM8 zmt0r3UMGZktIZa/3VALnHtZHZ7emDJ9kRzTOHiEuJhC4t80wdA5N9mJYp1SlYrj4wjynXgYojhFx TFLWAEe9OW4IikqwPTUEfBxryRvZJxyfSJAsTXc8YFRGhg/kfYEeYsWYJvwdFAYYDI3KBwHQNzqOe cGezw7COHNbOW3p6JHoPOqYQDLmoNFhpwsSdUTO2s++4EJezdnLqMWPiNsxQmjhP6H921E3PVhzuy QFdgvns0WkVs2Nf9v0Jg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGa3w-00000004Al6-02zt; Mon, 10 Jun 2024 08:07:32 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGa3s-00000004AkQ-419H for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2024 08:07:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1718006843; x=1720598843; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pI21Ud12UwCRn2MFzxI2TOXHV2HzWH6YI5gOx+RbkII=; b=HxBPM3Vq0Bu+H0QFFW0j4YUcqYQ/v8HwIV6brCi1GR0kJSitC+zIeWb2lFtJwwqr 6CI0EYcqrB8Hw3+RtDnNFQEE3iR3AZOjKXEpR1SRmbkXr72UYhGDIzXavr02qG26 bvXfWFMw6qugeJPgscc5YPkDMgEkHDNpnGwQEq7/VKk=; X-AuditID: ac14000a-03251700000021bc-e4-6666b43b80f6 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id B1.6B.08636.B34B6666; Mon, 10 Jun 2024 10:07:23 +0200 (CEST) Received: from [192.168.10.3] (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 10 Jun 2024 10:07:22 +0200 Message-ID: <33084cb0-95f4-414d-b094-bf704376fd02@phytec.de> Date: Mon, 10 Jun 2024 10:07:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/4] Add overlays to disable optional hardware in k3-am6xx-phycore-som boards To: Vignesh Raghavendra , Nathan Morrisson , , , , , , Daniel Schultz CC: , , , References: <20240528225137.3629698-1-nmorrisson@phytec.com> <4ac40139-eda0-4f6a-8bbe-99110605f91e@ti.com> Content-Language: en-US From: Wadim Egorov In-Reply-To: <4ac40139-eda0-4f6a-8bbe-99110605f91e@ti.com> X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRmVeSWpSXmKPExsWyRpKBR9d6S1qawbkWY4s1e88xWcw/co7V Yvnn2ewWL2fdY7PY9Pgaq8XlXXPYLN78OMtk8aFxM5vF/z072C2636lb/D/7gd2B22PTqk42 j81L6j36u1tYPf5cfMfqcfzGdiaPz5vkAtiiuGxSUnMyy1KL9O0SuDLeT2hgLrjIXzFx8y62 BsaDPF2MnBwSAiYSR+9MZ+pi5OIQEljCJNGy4xGUc5dR4vCal4wgVbwCNhIz7y4Dsjk4WARU Jc5cSIcIC0qcnPmEBcQWFZCXuH9rBjtIibBAmsTlPiOQMSICDxklFl/9ATaTWaCNUeLJwwPM IA1CAjkSzRNvgTUzC4hL3HoynwnEZhNQl7iz4RsriM0pYCWx/sVXJogaC4nFbw6yQ9jyEtvf zoGaIy/x4tJyFohv5CWmnXvNDGGHSmz9sp1pAqPwLCS3zkKybhaSsbOQjF3AyLKKUSg3Mzk7 tSgzW68go7IkNVkvJXUTIyjeRBi4djD2zfE4xMjEwXiIUYKDWUmEVygjOU2INyWxsiq1KD++ qDQntfgQozQHi5I47+qO4FQhgfTEktTs1NSC1CKYLBMHp1QDY7B87i97g6RTm38LmR/1YF0m VeVwUTjnUc8EC+8+njCrfYyyL02kuY5phBVaHT9T1CF0xmXfuzuek8rV/xy7coJLaYnOPWbz hx81WtNnzFppICCQMW2uSuXnu8rzNrz4v9EuR3Xbkv7P5dOcFhRmm7WuyrrEt23Ls1PCf5gj HnXlPtf2C1u4SImlOCPRUIu5qDgRAJHZ5p6lAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240610_010729_508766_ACCF35FA X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add: Daniel Schultz Am 03.06.24 um 19:41 schrieb Vignesh Raghavendra: > Hi Nathan, > > On 29/05/24 04:21, Nathan Morrisson wrote: >> Add three overlays to disable the eth phy, rtc, and spi nor. These >> overlays will be used to disable device tree nodes for components >> that are optionally not populated. >> >> v2: >> - Add build time tests in makefile >> >> Nathan Morrisson (4): >> arm64: dts: ti: k3-am64-phycore-som: Add serial_flash label > > >> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable eth phy >> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disable rtc >> arm64: dts: ti: k3-am6xx-phycore-som: Add overlay to disabl spi nor >> >> arch/arm64/boot/dts/ti/Makefile | 17 +++++++++++++++++ >> .../boot/dts/ti/k3-am64-phycore-som.dtsi | 2 +- >> .../ti/k3-am6xx-phycore-disable-eth-phy.dtso | 19 +++++++++++++++++++ >> .../dts/ti/k3-am6xx-phycore-disable-rtc.dtso | 15 +++++++++++++++ >> .../ti/k3-am6xx-phycore-disable-spi-nor.dtso | 15 +++++++++++++++ >> 5 files changed, 67 insertions(+), 1 deletion(-) > >> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso >> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-rtc.dtso >> create mode 100644 arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-spi-nor.dtso >> > > I am not sure if this a common practice to have overlays to disable > missing components (at least I dont see such dtso in kernel). I would > like to see an what DT maintainers feel as such dtsos can explode in > numbers. > > Is this something that U-Boot can detect and fix up for the Linux DT? > > Unpopulated SPI flash and RTC should ideally not be an issue as drivers > would gracefully fail albeit with some sort of error msg. > Not so sure about Eth PHYs though. > > Also, Are these dtso's mutually exclusive? ie can SoM have SPI flash but > not RTC, have RTC and SPI Flash but no ETH PHY? > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel