Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp218113lqp; Mon, 10 Jun 2024 01:34:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWD/MLa9gl43jrV2LH8riQI3ZF6lx0xAxN6TSOU1rAUvggAxZdJfUt+Qy2b9gAOtaSUdORwfVRaHdEes+w/p9cU7NJg0N4M6cT7BShOQ== X-Google-Smtp-Source: AGHT+IHIoU6oVqQIRZyppKS1QT1F4KaGzUDh2Ncpuma8LIKkoBeumVlbM6ZW7TVcP3yEwMIZgPH/ X-Received: by 2002:a05:6e02:1d17:b0:375:a8a8:8e7 with SMTP id e9e14a558f8ab-375a8a80dadmr16899145ab.8.1718008497515; Mon, 10 Jun 2024 01:34:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718008497; cv=pass; d=google.com; s=arc-20160816; b=D5UhPF7qa19zjs9Qkk82wt9EIa6XGroKCsRZ8q1N9LmQ1O089yRi0WYNLflQ0UzOfb MhXj7TL00I+unHA9MWPBpKPVMiwe9esRlZ1yvrsJpgtog4o19tKPHAzZ8Upi9PDekPTN u8Pm0FeCS8Qh7TsSMAHvMH2lYS0ADpqC7U0jsO1tEPoOvlrlObu+rJlEOKDQ3wb4H7x5 YhHTuTdj+aBF0ilpI6g4ooxQkXPA1jRnvyX/nkiD49cfyE83tHO2/HiUairmCyM6rh+3 3KcGhxCszIOX9ncz3MPz8ax3by0ksj/UZ+lkdK7owOmYE8hn1Oxb1g/pODmp8R6H1ceq HU7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9xgZGVMXKa1SyOuoeOSAf1+gd9uZ+A7v/Tdo56GI8OM=; fh=YVEI2lQTU8IU/LfwyD3U2JM9RCtl5o5IA6TjYiZ5x70=; b=Z/2ZUP8I3wuO+EABzDLkYWlN6bcM94miIvraBXyQz/S6ls+jU0YW9Lv864SytEw42f 0QOHWzJSSeqiV3SP0I6qEswyMfg0Xd7YoMU6KhAxUeZUQ4NMczvtf8ID1VASUxY/ik6V hZc8+4utgIOKiPbfEh+utCLS3xp8qYloDYxa9k6hdLlRJrQWxOEsQ/3Vrcu3xYWqJTBV 2Tey6sHR8aAhvN3kFQkjJW07nBga+OqSv+8gDQaT1GPNJPPfA9JXLwfm5BpCeFZg8wMw 5sGKGs96VRE+WU8tAcnoC5idciU6cZDBKc7ce0w2uSWiX9jb/rfmyr7E+4hSNz3E4XbY Q/lQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=HxBPM3Vq; arc=pass (i=1 spf=pass spfdomain=phytec.de dkim=pass dkdomain=phytec.de); spf=pass (google.com: domain of linux-kernel+bounces-207837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207837-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2af08d46si7166437a12.900.2024.06.10.01.34.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 01:34:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=fail header.i=@phytec.de header.s=a4 header.b=HxBPM3Vq; arc=pass (i=1 spf=pass spfdomain=phytec.de dkim=pass dkdomain=phytec.de); spf=pass (google.com: domain of linux-kernel+bounces-207837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207837-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 94714B22258 for ; Mon, 10 Jun 2024 08:22:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7406B6A8BE; Mon, 10 Jun 2024 08:22:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=phytec.de header.i=@phytec.de header.b="HxBPM3Vq" Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 449884D8BC for ; Mon, 10 Jun 2024 08:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.26.50.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718007771; cv=none; b=YJQVLU9pBW1sX17Nm9kDRBtUPqDjU74TAqDUua8XnXyRwyPlxnkWnnp9O5M6wnHLqVZ+MFJNnZmnBsq+xW8U/zZCQN3lPKGIr/KIDptj2TulNX4R+d1mXtjBhyiUBYrz/UOJf2/ocgBkIRY6x6RqiEhFUhb7SPTmCBaB5zMIMFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718007771; c=relaxed/simple; bh=pI21Ud12UwCRn2MFzxI2TOXHV2HzWH6YI5gOx+RbkII=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=EGwFVo4AeHTaZrGGPdMWw04T1JM14twnrPq1QV4hmfLTQOF52h3pmeUfUgY5tC2J5kiOcZPIL9NK3cgjLiNo++MT+JuVkiFjYSyt6qQIXCNC4EojCpFtDxyKITqVOBeoZXBzlsGWHUMpOirbqXvGZCnQF9FpzjUxTavsnPwcx84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de; spf=pass smtp.mailfrom=phytec.de; dkim=pass (1024-bit key) header.d=phytec.de header.i=@phytec.de header.b=HxBPM3Vq; arc=none smtp.client-ip=91.26.50.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phytec.de 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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 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? >