Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1935254rdd; Thu, 11 Jan 2024 14:03:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDApTewWB3t/dPzKRj7fcVzc7UNHYC/QrqXZ9Md3YruZg6wh43qAXXBAkMMWrybNvOY+aH X-Received: by 2002:a05:6e02:2146:b0:360:7c05:e479 with SMTP id d6-20020a056e02214600b003607c05e479mr24872ilv.47.1705010629601; Thu, 11 Jan 2024 14:03:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705010629; cv=none; d=google.com; s=arc-20160816; b=R0zzcSH82N0ELqFd6E6ca5oUMF6957PdIpYSaTCTsQW6b+vbiAJmT20eYbO8wHDqjT gPuU1toR9wgNF0UMMzDlQUizohcqg6OwxA1DNlzacHYcjWNQVakVgC9QsyeTSIjUwYsW EkvtgLxT88kBVNblF9niKxIrRgUEuk8eQ7oyOym+jfTE/zBHJGAQEJi91QxdprE8iKdP HIOXxxSyeaus+eO8CpH3tM7858QNud0pgYPeWxR5pZf5F6h4WjNEmMjduDZJgJumxhgc D9kgK3ExJrxSZhRdqP6A4YOXiI6eCSVoidbzTtc8uNP+GiG3cMUNoyBcoaQyLmJqpYpE RN6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=L7ovJyN+T/CjdM6ZJYckZfNG6UV/FIJRkISNXwB/tgQ=; fh=2hFIPvphp8RARmmYdwiMt1Ujkw7sH0qtwHyUJJk1mP4=; b=Ap10tJSUv5ZjsryYdq2+97E7k+bA3HGVvvwPeTwmvZtjAAY6mD7IGF2eJopjOCXRHL 5uqnufHEWnUqtj2hiQr01CNq2DtWu5p36+2Wd2Mb3OtybKxpT0yrQu+87n5/HF6w+svy iXWgrVMwEwKBJBAUzHM8uNTrY0XhZJoFoyX8c+AM4lJYzdhKMx7IMTLl/ZjUFpRSZBPu ejsLf0xl5EjKoFXQZOCnjZUqoG4GH1aiQo0WWZ2wEN5otI8nH88JpOxEIznttFlOMUNO /0gJa0COdTWY6kkxITYGO4vnouO4T42k+cH21obX2sWKGnjeggvRD03l+Uo+Of+rPzj8 CtXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQETrqDh; spf=pass (google.com: domain of linux-kernel+bounces-24104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m22-20020a637d56000000b0059cc8d682dfsi1891221pgn.814.2024.01.11.14.03.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 14:03:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qQETrqDh; spf=pass (google.com: domain of linux-kernel+bounces-24104-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24104-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E32B6287F0B for ; Thu, 11 Jan 2024 22:03:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F24E58228; Thu, 11 Jan 2024 22:03:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qQETrqDh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A495E5820D; Thu, 11 Jan 2024 22:03:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DFF0C43399; Thu, 11 Jan 2024 22:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705010619; bh=jN9g+MnTl+CuJ+/RvoYQJ0TAQWXECkq+Sx15c1NcM4c=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qQETrqDh5M/ns6SFVKQSqUS42/kaxrvLrN8y2KF4vmyBIt1pOK66I2YZUfAYK80P8 4Ri50DkUoL/qQqqxRtTxh//fxrXSmxd6IeORDZTRpD+5lOl30hO4EOa1CuXOdJkvQN Uq195P7kItZ4h6nIyqPHGLxZeeXqeJ2JaIyouph2k3r5XEpWduk873MXI5NoTpcEnu CJm4XunD/djKIX/nD2nOWLWQWO+OsS9Re8qxJq6b+dL8gwEgOylQ70EF4eIf0FmIO7 ixNZdO550n/YmEFVIUR9uMIXHi0KeodQGv+tmV2UhkgiM4KlpAk36iUBaSaKp1qMzG cJ1WiUt/sMT8w== Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2cd5b467209so52432941fa.3; Thu, 11 Jan 2024 14:03:39 -0800 (PST) X-Gm-Message-State: AOJu0YwOZI+pKy/8XYCpN0XHjHhQKZL0tobFaDe/TeeUQIVFhtzbDBgS TaAzzC/7tVv21dDuVVgq772QTuUv0CN3DTNDqg== X-Received: by 2002:a2e:9e97:0:b0:2cc:610d:ca6 with SMTP id f23-20020a2e9e97000000b002cc610d0ca6mr198479ljk.81.1705010617334; Thu, 11 Jan 2024 14:03:37 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240109-axi-spi-engine-series-3-v1-0-e42c6a986580@baylibre.com> <20240109-axi-spi-engine-series-3-v1-2-e42c6a986580@baylibre.com> In-Reply-To: <20240109-axi-spi-engine-series-3-v1-2-e42c6a986580@baylibre.com> From: Rob Herring Date: Thu, 11 Jan 2024 16:03:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 02/13] scripts: dtc: checks: don't warn on SPI non-peripheral child nodes To: David Lechner Cc: Mark Brown , Jonathan Cameron , Krzysztof Kozlowski , Conor Dooley , Michael Hennerich , =?UTF-8?B?TnVubyBTw6E=?= , Frank Rowand , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Jonathan Corbet , linux-spi@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 1:51=E2=80=AFPM David Lechner wrote: > > According to the spi-controller.yaml bindings, SPI peripheral child > nodes match the pattern "^.*@[0-9a-f]+$". > > A SPI controller binding may require a child object node that is not a > peripheral. For example, the adi,axi-spi-engine binding requires an > "offloads" child node that is not a peripheral but rather a part of the > controller itself. > > By checking for '@' in the node name, we can avoids a warnings like: > > Warning (spi_bus_reg): /example-0/spi@44a00000/offloads: missing or e= mpty reg property > > for a binding like: > > spi { > ... > > offloads { > offload@0 { > ... > }; > ... > }; > > peripheral@0 { > ... > }; > }; > > Signed-off-by: David Lechner > --- > scripts/dtc/checks.c | 4 ++++ > 1 file changed, 4 insertions(+) Check the commit history. We don't take changes to kernel's dtc copy. They must go upstream first. Rob