Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2865731rdb; Mon, 12 Feb 2024 22:10:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxr9zHiBYt0/cwUAdpDswXxcLWE84MUgScJAdd5RXYILsNRs8VTNcLEX+PeCw1lOQB3Xp5gy4Z8XG2hEQEDnSKF1rUa9pgO1FePDg/kA== X-Google-Smtp-Source: AGHT+IFqFgHmNNKEUuZxXQQcdSIJCiSDWFwcZb+G4sVYyojsigzbR/eM5Qi2wDVDfWP1A3hWRYav X-Received: by 2002:a05:6214:3906:b0:68c:a83b:b1ba with SMTP id nh6-20020a056214390600b0068ca83bb1bamr10368623qvb.38.1707804634668; Mon, 12 Feb 2024 22:10:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707804634; cv=pass; d=google.com; s=arc-20160816; b=NOD/yz6pHytuEM0FHGMenu2+ue7UShXPqefhY1RwZbagBNLc5qiHihZL2Hq50B+jBu MXawuPAyD2QVqtQvWm8TMfq1UHNCMSZA8N0TncbdQutF3mWVyRgooOy+rW+0lumpr0eL aN8S+Lzxau79YpmDZMze/soWc/HyQXRTkKX4dUSl/U5Sg+D3aiGD5L0xK4OI9YbGGzNl /JnRYjS/IgjUmHE8ZKfDLPUm6I8HQc9cI+1TijIsuuzdfWZwERI87Qgy1Jif4yn5FbI8 yx6H+G5YDMwI0oHBXegRd4rL0iZ5oUhbl3l5ylIgmD43n3zODdXDFe/XlS44zWi59t6x jxgQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Kn7/FfLHyz0ebYOkvTUmyOmHjjckiFLLNK6m12sdElM=; fh=EXyO+un2RYm9gVLHYMgYJfINjne6m3uPTvR9nNq+8RY=; b=ok2pZLxMEbk/wUwOyBISjHzvmtFgIOsHPBOMwjMf31eH9QoTeK2q40yojjjbbFqJ/w Q5itStpcnsRZ1rk64TmuZV+87CDU+wpYs3PSkZdw+huuQzqbA3fqdRG9tcvxLv3oonky wpjJHdMEW271l+62VJJa4DQJsiroZC0ELKMM9yY8LxPH3GrsiP0UxGVwrUZUPTJp9nb1 MRkeReBnMTQRz053rTj/DCzeADg6fGX1SryKwcpJHYsQD4DGaaOd+lggqoLm1m32Az6s ZOsgQk4KQIuu+3dG9JvNC6sWoQCZNbE43mqSj0tGGi8jH63w3d74Dx4k9SIAKR2nZhbU k/xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=u4zOq6gS; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-62991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCUg4IX7iHkYKWe7EQCRVUZn1KvKD0DWoHqWPve/bqoQeP/9mCKLtood8yBu3z3BTp9qj1JAsSuTjaEWH1QKUw1YpQNArHy7H5Ui+zNG6g== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 5-20020a0562140d6500b0068ce8a08863si2190034qvs.179.2024.02.12.22.10.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 22:10:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=u4zOq6gS; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-62991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 40F6D1C23295 for ; Tue, 13 Feb 2024 06:10:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D923212E49; Tue, 13 Feb 2024 06:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="u4zOq6gS" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 0FECC125B2; Tue, 13 Feb 2024 06:10:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707804619; cv=none; b=Wi8sq6V7+3EWfa1lZLb6KKZv+v1Gn2TAncn/HCkEqMeIm31IvGESormid/Mlq7oDMJI/7nC1a79O8Nbp+H5DR+/kM6s+RPJ7GwRvnusqJcuP2Aq8CkkNYs0QAmEaaHX1fgVQwI/cXWHd+/v7Nyte+xkKfN169v89s5M6KKF4nnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707804619; c=relaxed/simple; bh=s1up70ZXW+9oM55cz1WmbskRPTMYaaYeCjZg+jmbZ/A=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=s96zN8cUeCJv4Pny8hSYzQFP8f/1IJrRaDUr6rtCeSIN/tdnwJVEVhr4/JJFmDEoQL86P8jp6AJeDTvGkcUOLh2h1LsXuxDzqs9My6Lo7QpchpUIJ+VREG1pYl1rdsfBvkOAYgZizB5nh4dZNI74Uy4m9zF5IEXZeTDC7BWmoS4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=u4zOq6gS; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41D69ilp078848; Tue, 13 Feb 2024 00:09:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707804584; bh=Kn7/FfLHyz0ebYOkvTUmyOmHjjckiFLLNK6m12sdElM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=u4zOq6gSVQkOmvu3B4mYlV7do6+VpcVW6HtOBsgUfaPbpf1pbi8I0vlizP+MMQ+Kz OHbodbO1DBbzZ69+wXZpNY0RMtOIINvGTY+/WFRycD77dM6HuCdQxrCvJ+v1e/3XEJ 1hhN/vsR1sdtVDmHL++URjYccxrax/z+OgqJB/TY= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41D69i3M010056 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Feb 2024 00:09:44 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 13 Feb 2024 00:09:43 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 13 Feb 2024 00:09:43 -0600 Received: from [172.24.227.94] (uda0132425.dhcp.ti.com [172.24.227.94]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41D69cxd046033; Tue, 13 Feb 2024 00:09:39 -0600 Message-ID: <57d24319-eabb-48d6-b5a0-cab333c9cc68@ti.com> Date: Tue, 13 Feb 2024 11:39:37 +0530 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 v5 0/5] arm64: dts: add description for solidrun am642 som and hummingboard evb Content-Language: en-US To: Josua Mayer , Nishanth Menon , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alessandro Zummo , Alexandre Belloni CC: Yazan Shhady , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-rtc@vger.kernel.org" , Krzysztof Kozlowski , Suman Anna , MD Danish Anwar , Andrew Davis References: <20240211-add-am64-som-v5-0-790ed7121249@solid-run.com> <359993c5-3387-443c-8cef-30ee7ad1f521@ti.com> From: Vignesh Raghavendra In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 12/02/24 22:09, Josua Mayer wrote: > Hi Vignesh, > > Am 12.02.24 um 05:10 schrieb Vignesh Raghavendra: >> Hi Josua, >> >> On 11/02/24 20:37, Josua Mayer wrote: >>> This series adds DT bindings and dts descriptions for SolidRun AM642 >>> based SoM and Hummingboard EVB. >>> >>> Additionally a commit from downstream vendor kernel are included, >>> enhancing support for pru based ethernet. >>> I wasn't sure how to properly annotate it in commit description / >>> signed-off area ...: >>> >>> 1. add description for "Industrial Ethernet Peripherals" (IEP) to am64 >>> https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/arch/arm64/boot/dts/ti/k3-am64-main.dtsi?h=ti-linux-6.1.y-cicd&id=5afb73d82a014b59462162d960b350b8c58e5ae6 >>> IEP is already supported in-tree by a driver, and used in >>> k3-am65-main.dtsi. >>> >>> Unfortunately dtbs_check reported many problems, I put some remarks: >>> >>> - 'mux-controller' does not match any of the regexes >>> The expectation seems to be that a mux-controller at minimum has an >>> address, something to put behind an @. However this is a gpio mux, not >>> sure how to name it better. >>> >> I don't see this warning locally. Are you using updated dt-schema? > pip3 install dtschema --upgrade > Defaulting to user installation because normal site-packages is not writeable > Requirement already satisfied: dtschema in ~/.local/lib/python3.11/site-packages (2023.11) > > Re-Tested on 6.8-rc1 > >> reg >> is not necessary gpio-mux as per gpio-mux.yaml > The error is not about reg property, it is about the node name: > > mux-controller { >     compatible = "gpio-mux"; >     ... > }; > >   DTC_CHK arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb > .../arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: syscon@43000000: 'mux-controller' does not match any of the regexes: '^chipid@[0-9a-f]+$', '^clock-controller@[0-9a-f]+$', '^mux-controller@[0-9a-f]+$', 'phy@[0-9a-f]+$', 'pinctrl-[0-9]+' >        from schema $id: http://devicetree.org/schemas/mfd/ti,j721e-system-controller.yaml# This warning exists not because of gpio-mux but because of SoC level (k3-am64-main.dtsi) dtsi issue. There is a separate series to fix the same. So this should be okay to ignore for now. >> >>> - unevaluated properties: interrupts, interrupt-parent >>> sensors and flash yaml are missing interrupt descriptions, but these >>> parts definitely have an interrupt signal in this solidrun board. >>> >> Please add them to appropriate schema as necessary > Okay. > Looks like it is only two: > .../arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: humidity-sensor@41: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' >        from schema $id: http://devicetree.org/schemas/iio/humidity/ti,hdc2010.yaml# > .../arch/arm64/boot/dts/ti/k3-am642-hummingboard-t.dtb: flash@0: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts' were unexpected) >        from schema $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml# Yup, thanks! you could post a cut down version of the dts with all the problematic nodes removed until yaml updates are merged, so as to get the basic support in. >> >>> - wrong names for pinctrl nodes >>> Other TI DTSs consistently end with *-pins-default. Should a different >>> naming convention be used? >>> >> No, pinctrl nodes need to end in -pins. All TI boards have been updated >> to new schema [0] and sysconfig tool on dev.ti.com/sysconfig generates >> appropriately. Please fix > Okay, will do ... >> >> >>> - cdns,phy-type required property >>> inherited from k3-am64-main.dtsi >>> there is a PHY_NONE value in dt-bindings/phy/phy.h, >>> but not allowed in phy-cadence-torrent.yaml >>> >> Sorry, I didnt get what's the issue wrt cdns,phy-type ? > There were two issues, but they both disappeared as per 6.8-rc1 :) >> That's nice! -- Regards Vignesh