From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF8331D61A1 for ; Tue, 26 Nov 2024 15:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732633690; cv=none; b=BcdifHcxibxEKVHIgoWIvQTH+rX2eqw+vY1PFNk0O5PDHfyS/rC2H3raBUTszIcq+9SKI+ByUCtZ/I/tteIS7xEKsFfqomkZPVoWAs9cNUGjdpljDWnhyqWHmK4pk0KcIpfBpmOtuhbi/uXhPNhT8Z3ZPuvEb4gMqWuF9BPn2UA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732633690; c=relaxed/simple; bh=rR9fCYRGtZ0WqiCx7bsr9NOHtvAkUDm6R/T+RFpzqCM=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kp1Gp6L6DLIXUXOopLqJsucgHpFdoBiQIy/o5snP8rfmHMJIMHMFebOJvbRyRB/xG9S66VO/0LtRLP92zbrzkWBr7kWSUb1b8XTIv7KG5RomTk947B4981lHTYvTEibPgjTzN5Qpg8SQCD8/tz73Ocoa14xm7PblWkuLrb9Qm1M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=VbV6WM9V; arc=none smtp.client-ip=209.85.208.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="VbV6WM9V" Received: by mail-lj1-f193.google.com with SMTP id 38308e7fff4ca-2ffc86948dcso21224071fa.2 for ; Tue, 26 Nov 2024 07:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1732633686; x=1733238486; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=wkXmTfuY/onFcHGFkT/ioLNg+ObOS9O+E99ZOLPbjVY=; b=VbV6WM9VyuFtdfUmhTGye41Mq7eczXU6FxYhf/c/zBG/dwQynC5q1xiExXDmmja1Pc DJeFB2s/Rldcalexh6N7op1aOm8cVxaAbUZHOCf00nNvzspZHpGPcrY40/NeJU0xfM7t tRu2MF80hRR71npcKlZDwsSisr7DOMD9hQq14yvfLZDWGnyD6jfVmemvvE2956yI7uIA zpQ5ncn7DypM2EMfTeTf7HbAkFcFDiybUUrq9b48R0LWfEHUWTvz2s25NtE+dtSrbYiK 3v0XWKfMmIbghIoCUhoT++ZuCTsnwZyPTLU4/ZyDREfXeV6StHUyV/p/nIGEjoF6LInT AVDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732633686; x=1733238486; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wkXmTfuY/onFcHGFkT/ioLNg+ObOS9O+E99ZOLPbjVY=; b=c3sXQMQ0w0q+uRoFkZfieC1D66mNhztUAQAonmdgt67Y90iPth7sk7Oir659j73L8L 0VooSbZwbLVHfkj6Hwb+2deyiuxY3onGuE9KklnMz7/RRpwoDiy/8sjJYtdQ0aSbJyiu 1AzXX0A4g6jzgvsRR3Y0RDjK8hiYm2TlNmvtpUbVtTOhx2uiYCRqbSj+P9UhNVulsBDC 3dUfyIEzuGqqaUzSqD0Jm/6K6HY8Bm7xhKEPPdsd7dfxa6v7T5s4RobpulK88SSAcStY A19s2pv988Df4Qiy+EBG43504bLZLQoCCBjcVdPycm1txthoBmxVhoRyXh5VF41ukTm9 C4pA== X-Forwarded-Encrypted: i=1; AJvYcCWIey0nLKwk0zJ0W4rll1eN23en3G5vABhioAqKaHUJ8mtxPO8KuPCS+OomeWFACFXDmuWh+IUEP4p9@vger.kernel.org X-Gm-Message-State: AOJu0Yz6KZsjwjS6a23BzVWmMiq4jOZrw+ixyLY7RFSReNwaWLlYcP5C 7LD5KZmmRTi8esaSyu3urkrNs36stqiWUzd2m4pNaR50Z6foBw9e1rcZH/TptwQ= X-Gm-Gg: ASbGncseun/FT1icucB4UoyLBLCK966Vag4r+s7fJZBVcf869XxNDCyd4ZnMpcQCqYk G4vWHCA386OFPofRERUDqFVcLqrCiEXKUvK8bwmb5II9OsP6HKlJi1SpIJ0od097yM2zTSJ9Yko bd8f4oWykzPPfbYRSsbNtCEN2nlS5I2BHK0z5t4NCGWXeFeZgKkcQRXhPapei3mCsJo0Oiy1vkK SSixBMrqe5qpyQSzx3SCJ+K7cxG2+YwTHQzK8ZWLMU2Ho1sDxjM3f4zLu1MaIKVjs1obsjVR9Yz 4dAzRiysG1QNkfpbDgv6 X-Google-Smtp-Source: AGHT+IHfNZc0WKbh7sqF1+iBLIXYZDOl4JPTwwJG5rgrazocKw4s1ERx1hlewAc6ByNqGEspG3q/FQ== X-Received: by 2002:a05:651c:88d:b0:2ff:55b3:8e11 with SMTP id 38308e7fff4ca-2ffa7193c77mr95509071fa.36.1732633685736; Tue, 26 Nov 2024 07:08:05 -0800 (PST) Received: from localhost (host-79-49-220-127.retail.telecomitalia.it. [79.49.220.127]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d01d3fc94asm5286773a12.58.2024.11.26.07.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 07:08:05 -0800 (PST) From: Andrea della Porta X-Google-Original-From: Andrea della Porta Date: Tue, 26 Nov 2024 16:08:38 +0100 To: Rob Herring Cc: Andrea della Porta , Michael Turquette , Krzysztof Kozlowski , Dragan Cvetic , linux-gpio@vger.kernel.org, Herve Codina , Thomas Petazzoni , Luca Ceresoli , Bjorn Helgaas , linux-clk@vger.kernel.org, Derek Kiernan , Florian Fainelli , Conor Dooley , Bartosz Golaszewski , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , linux-rpi-kernel@lists.infradead.org, linux-pci@vger.kernel.org, Stephen Boyd , Will Deacon , Arnd Bergmann , Catalin Marinas , Andrew Lunn , Saravana Kannan , devicetree@vger.kernel.org, Stefan Wahren , linux-arm-kernel@lists.infradead.org, Broadcom internal kernel review list , Manivannan Sadhasivam , Masahiro Yamada , Lorenzo Pieralisi , Linus Walleij , Krzysztof Wilczynski Subject: Re: [PATCH v4 04/10] dt-bindings: misc: Add device specific bindings for RaspberryPi RP1 Message-ID: References: <173250040873.6640.9720381303445148722.robh@kernel.org> <20241125132104.GA1520508-robh@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241125132104.GA1520508-robh@kernel.org> Hi Rob, On 07:21 Mon 25 Nov , Rob Herring wrote: > On Mon, Nov 25, 2024 at 10:15:06AM +0100, Andrea della Porta wrote: > > Hi Rob, > > > > On 20:06 Sun 24 Nov , Rob Herring (Arm) wrote: > > > > > > On Sun, 24 Nov 2024 11:51:41 +0100, Andrea della Porta wrote: > > > > The RP1 is a MFD that exposes its peripherals through PCI BARs. This > > > > schema is intended as minimal support for the clock generator and > > > > gpio controller peripherals which are accessible through BAR1. > > > > > > > > Signed-off-by: Andrea della Porta > > > > --- > > > > .../devicetree/bindings/misc/pci1de4,1.yaml | 74 +++++++++++++++++++ > > > > MAINTAINERS | 1 + > > > > 2 files changed, 75 insertions(+) > > > > create mode 100644 Documentation/devicetree/bindings/misc/pci1de4,1.yaml > > > > > > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > > > > > yamllint warnings/errors: > > > > > > dtschema/dtc warnings/errors: > > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/misc/pci1de4,1.example.dtb: clocks@c040018000: 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+' > > > from schema $id: http://devicetree.org/schemas/clock/raspberrypi,rp1-clocks.yaml# > > The error comes from this schema and... > > > > > > > doc reference errors (make refcheckdocs): > > > > > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/ebb21da5cb41391421b364815705be8b4c415f8a.1732444746.git.andrea.porta@suse.com > > > > > > The base for the series is generally the latest rc1. A different dependency > > > should be noted in *this* patch. > > > > > > If you already ran 'make dt_binding_check' and didn't see the above > > > error(s), then make sure 'yamllint' is installed and dt-schema is up to > > > date: > > > > > > pip3 install dtschema --upgrade > > > > > > Please check and re-submit after running the above command yourself. Note > > > that DT_SCHEMA_FILES can be set to your schema file to speed up checking > > > your schema. However, it must be unset to test all examples with your schema. > > > > > > > Sorry about that, but even if I see that this should be the case (I've dropped > > the clock-name property from raspberrypi,rp1-clock.yaml), I can't reproduce it > > with: > > > > # make W=1 dt_binding_check DT_SCHEMA_FILES=pci1de4,1.yaml > > You've limited testing to schema files matching pci1de4,1.yaml. Ah I see. I thought that DT_SCHEMA_FILES just restrict the check to that particular file, instead it's also restricting all check of that file to itself. So I guess there's no way to check one specific file against all internally reference (e.g. from examples) schemas... Thanks for pointing that out! Regards, Andrea > > > > > and the output is: > > > > CHKDT Documentation/devicetree/bindings > > LINT Documentation/devicetree/bindings > > DTEX Documentation/devicetree/bindings/misc/pci1de4,1.example.dts > > DTC [C] Documentation/devicetree/bindings/misc/pci1de4,1.example.dtb > > > > dt-schema seems up to date. Is my command line correct? > > > > Many thanks, > > Andrea > >