Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp361444pxf; Thu, 11 Mar 2021 05:51:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfOjgB3L9FYU68MtvTgkVBexVmvc3++9ua8zL7hSj8W7MN2fX8IKZXInZlTuaW5QKOycI+ X-Received: by 2002:a50:fd83:: with SMTP id o3mr8823002edt.90.1615470691606; Thu, 11 Mar 2021 05:51:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615470691; cv=none; d=google.com; s=arc-20160816; b=w9XSENYqJuUuZo+pJC0MIjP5amIrgHMp7+Z8SB3mpM0iYoUogKTFuYeqYUxuaSROiw qgbClmxNu7Km7BDQbp3dKX/NZngxi7WWX67z4EwqLM0t5YBNl+k+dMHjJI1FifDbHJcE IdW6xEElm3F+qhjoXDNyGoAkazYiQlaXzaDMzELSj+bfP1rSHh+lhc+HaY180QJNBpxR 5YYMFQiENckJMUxqphqKjBIp+Eme/ENNhTHWEOtXdzBATQngVqaMMhEf/MZLat9mF/Fn htQ4dGOGq4i+OhOUGMZi071fRWpkB5FPc5rk57B3Prsz6v5c5xo3b9H1WDc62IXd5mGa Pw5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=y7+piTyzUeMaYeWv5HTpNAGRHT3ES4bO2fJ8p6KKtfk=; b=Fxgji+4IjvgrewxyU3J5cErZNgiogm2qLc8d/cYwUzkjI/6s5K/WTAIzqh9Tl3+U8o X+pUDLmYlJb9kNFylFSxFoUA91sJA4NIeS4316Hd3smpURX9McY4WhORGZ9kWTahsHW4 sKcrDl+le6JSC6bLC7EIiiEHtbLMBz0F4D1/wU1aJgHvDSfyOzRkcp0n8t0ntFy19tz0 WHZxP6KreFjBa9yxTMlaCdypGLFiFhZHVpN2yn5uK2JdZDA3/DqPBciq9Mqx6445TmS4 RJf3WX1sFqzxnKqIxQDxxy6vs/mPBnJKpwDiaSMjL1miEdZ6n6+pgmQlWN9ZQdJwIoQ+ XSbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si1697549ejy.196.2021.03.11.05.51.07; Thu, 11 Mar 2021 05:51:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233774AbhCKNtl (ORCPT + 99 others); Thu, 11 Mar 2021 08:49:41 -0500 Received: from gecko.sbs.de ([194.138.37.40]:40052 "EHLO gecko.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233756AbhCKNt1 (ORCPT ); Thu, 11 Mar 2021 08:49:27 -0500 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 12BDnIsa002139 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Mar 2021 14:49:18 +0100 Received: from [167.87.35.81] ([167.87.35.81]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 12BDiHqf005503; Thu, 11 Mar 2021 14:44:17 +0100 Subject: Re: [PATCH v4 3/3] arm64: dts: ti: Add support for Siemens IOT2050 boards To: Nishanth Menon Cc: Tero Kristo , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Le Jin , Bao Cheng Su , Vignesh Raghavendra References: <9bff40f434e5298890e5d139cc36cc46a0ca2d76.1615369068.git.jan.kiszka@siemens.com> <20210311131754.i5ewls6hgeitcgre@astonish> From: Jan Kiszka Message-ID: <8d076ff1-cdac-941f-e796-a2e6dba792ab@siemens.com> Date: Thu, 11 Mar 2021 14:44:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210311131754.i5ewls6hgeitcgre@astonish> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.03.21 14:17, Nishanth Menon wrote: > On 10:37-20210310, Jan Kiszka wrote: >> From: Jan Kiszka >> + spidev@0 { >> + compatible = "rohm,dh2228fv"; >> + spi-max-frequency = <20000000>; >> + reg = <0>; > > Jan, > > As part of my final sanity checks, I noticed that we missed this: is a checkpatch warning > > WARNING: DT compatible string "rohm,dh2228fv" appears un-documented -- check ./Documentation/devicetree/bindings/ > #629: FILE: arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi:581: > compatible = "rohm,dh2228fv"; > > I cannot pick up nodes that are'nt documented as yaml in > Documentation/devicetree > > I know this is irritating to find such nodes that already have previous > users and the person coming last gets to deal with "new rules".. but > sorry for catching this so late. > > Here are the options that come to mind: > > option 1) - drop the node and resubmit. > > option 2) - get the documentation into linux master tree and then submit > the patches. > As you said, I'm not setting a precedence here: arch/arm/boot/dts/imx28-cfa10049.dts: compatible = "rohm,dh2228fv"; arch/arm/boot/dts/rv1108-elgin-r1.dts: compatible = "rohm,dh2228fv"; arch/arm/boot/dts/socfpga_cyclone5_socdk.dts: compatible = "rohm,dh2228fv"; drivers/spi/spidev.c: { .compatible = "rohm,dh2228fv" }, Was just just never documented as binding? Or why is no one allowed to use this anymore? What is to be used instead for spidev? > > I think we should just drop the node and resubmit - since this is a more > intrusive change and I don't have your platform handy, I am going to > suggest you make a call :( This breaks userspace here, and we would need to carry that node on top. BTW, I already brought up the topic internally to get you some boards for testing. > > Additionally please install yamlint and dtbs_schema -> run dtbs_check. I > see more than a few warnings there which may need some closer look. > I've done that and addressed all that I could (former patch 4). We import those from k3, and I don't feel confident how to resolve them. See also v1 of this patch. Jan > > A full log against linux-next is here: https://pastebin.ubuntu.com/p/qR69h28c5f/ > > > PS: https://github.com/nmenon/kernel_patch_verify/blob/master/kpv > > I have been using my script to verify with kpv -C -V -n num_patches and > then digging through the logs. > -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux