From patchwork Tue Nov 29 10:22:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1710068 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=oBqKylsE; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLz1r5gbqz23nB for ; Tue, 29 Nov 2022 21:23:12 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NLz1r1MYxz3Wtp for ; Tue, 29 Nov 2022 21:23:12 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=oBqKylsE; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.15.15; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=oBqKylsE; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NLz1V0fFSz30R1 for ; Tue, 29 Nov 2022 21:22:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1669717357; bh=8eefIejhUZKP3XYAMhDZQ9H9WglhQ79OVnj3c0fFmiY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=oBqKylsECYq5I/2GmpcEaQr7dFLmoSqFYFiZsA+Y82BFJrhIsCVRFa1txdK/v5+w7 KCfZD54Xs0BJ+j9H9qfp37KGsg0ok4h/CmuvsfKiiNTvUotnyPuGiyC9ll6cCkfEBn k4V4jhWoWSmNs4gB9W90kdNdlys4ALK5xD/nRK5g/IqsQA9Hk7KHDxqIzhqyS8Qk7k t4kaCFvz4ktgG0tpWZ2QGD9cr0F4MaQM9f/lJJWrvqqC1GSCKfXzqE7lTKyehbq1qV xZpZzt8D14zEwi16CtzZKwosZudWSIksdyzBSLWWkpYvrJFqutm4KoeZkMJLHcgOYq 66jvxrTRckXJA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MAOJV-1pBGQ22lhL-00BqtP; Tue, 29 Nov 2022 11:22:37 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-spi@vger.kernel.org, Mark Brown Subject: [PATCH v2 1/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix error in example (bogus include) Date: Tue, 29 Nov 2022 11:22:24 +0100 Message-Id: <20221129102225.3598044-2-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221129102225.3598044-1-j.neuschaefer@gmx.net> References: <20221129102225.3598044-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:9za5dH/0RwJN5d2RNLYIj1wTXHmsiB+J0vGP2W6X/NkSTy4TFsp lC6QGNuTYTV/9e792Neiw6YjBKPdniYotzWZsbuKyoZvLGIWHfNhcVziFfiaW0acvYjfyj6 h1Ovo7xUL/1VtK0hUi0ELJlrGArj2xfRp77ZIzy/QriV4zEUFxfDCegm+wA/i9/S8tadYtM rsgob02qh64gdgH8P8tsw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Amp4+tBHQOU=;bAc4SX+oNM+4Kk5rS+Vwx4oysl8 /c3i2QiGBs/P2msp5IJoCrfdqi0SV5/t+01e7M4GMjQKd6VSYKFPrIoQNJYZ2ZffKq6F3SRAI PYzttaKMHfbUoNG79CDU8NY8gOYArs7xLuWMXAaiGWqv42rLPomHKETwP7WTVBUJb4eCt292W voZe6uR/XFifrRuBJMgBvoQRIX0mkIVilZp23Cmk8e0/niq2HzCMVHS2i8d0H7g2P+f/L0urB juiQz6IPBmYhiPDAQ8Eyjn7OSIgx6/gQRDzoxYKr9ufrPJj5YCAnBILdKzXdDbw3LM9g8N/V5 PmHV+RbiiGaMK3QENU806lRBxgSTB98dw5990MRuEnvs2/qdWCOkYDfBg0nlpi6bHJ5/6K9CL Sq/4Hf2grLS+gPy35NRAFdadIvMIwHqL1KEfEKneMnr4T9GS6JSr1BjWU9kRJjFTmqoEB2SJo FZuqTV5O/p7/EV+AwjuqzMghyOPYTQLbnNyVlfqitE7jIJH1XISPPA4IYbREoUUu85FZohMye nXVeDPP2otoGpZ+etdtoKwT6lYqeQg98tKDWHSXSS96k/NYqC1Fo+zUEwJ7nx6yWrg+EZe+Sh pZmsBKGn5MJyqjJuBTHWEdMDfkgQQ1AVkZFxDIXjb3KGBOehFZI9Uawy0K55Yhsz9Q1NsYCuY LCRGueC5c14G+BXY7px+9iihAnbB0PNSLklM8FXv2wZOUD9dCBsEGbkAe/ho8uHNbjOOsc4X8 Cwtran2SMSuQKoUWLWDVFBMFgP340bKL6JqeLYT6sViBwR9j8bUyEnDh9vKHtdfGkcLy560ls BRH+kTJjjlMk75w41uiCsMbmrUFlnDa0uM5k6xoP67tugAcItmGNB7APco3qP+SXNd+O2PpV5 blRwnBoLF9rFqmt3pwrlavtvJLIp1XLvOZn7S3Hf9XKoSpgAtCmSVkU+QA9l3Rs8DZlmt02/f lPTIiRp+HLvV8qnxOa8nltwYMKs= X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , openbmc@lists.ozlabs.org, Conor Dooley , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" The nuvoton,wpcm450-fiu binding's example includes nuvoton,wpcm450-clk.h, which has not been merged yet, thus causing a dt_binding_check error on -next. Fix this error by simply hardcoding the clock index in the example, before the breakage spreads any further. Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings") Reported-by: Rob Herring Reported-by: Conor Dooley Signed-off-by: Jonathan Neuschäfer Reviewed-by: Krzysztof Kozlowski --- v2: - Credit Rob Herring as well (Rob's bot reported the issue, Conor made me aware that it is a problem that has found its way into linux-next) --- Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.35.1 diff --git a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml index ef94803e75d90..e4162845fcc1d 100644 --- a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml +++ b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml @@ -45,14 +45,13 @@ unevaluatedProperties: false examples: - | - #include spi@c8000000 { compatible = "nuvoton,wpcm450-fiu"; reg = <0xc8000000 0x1000>, <0xc0000000 0x4000000>; #address-cells = <1>; #size-cells = <0>; reg-names = "control", "memory"; - clocks = <&clk WPCM450_CLK_FIU>; + clocks = <&clk 0>; nuvoton,shm = <&shm>; flash@0 { From patchwork Tue Nov 29 10:22:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1710069 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=DM9DMtIk; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLz2t4bf3z23nB for ; Tue, 29 Nov 2022 21:24:06 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4NLz2t1f2Rz30RK for ; Tue, 29 Nov 2022 21:24:06 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=DM9DMtIk; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=s31663417 header.b=DM9DMtIk; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4NLz1V0fqPz30RG for ; Tue, 29 Nov 2022 21:22:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1669717359; bh=tCgpIcwmalgSx5qX5kzqlXYpLcTzbL9VQxyupLXaw8A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=DM9DMtIkSyUhCSHewXFjGasoKBNheLeR3gikogX87cgw0WOXFLpUU3JFxrrit9n5u zrqmT4Hg/N5H/rwOcc045NWfjpgjx//7fsDTrbwC8qnus03qE1+1iuD9fyw93SBp6b 9iR2DlUbDMyVoND6kAvolsCuLv9/M1W48VGRC+aN6LfK0v9u8QkXki1blEAK6m7cCv x/22XvWrMlLrDcfDRww0wA5eRB7TAkb1/v7PQyVyrYZYAZLP05ooE7z4P30jX6ZnwI NOcY7mzgYcaQYcwuhTWYP7jD1kHGuRLIZLHWqKShksg8Mf2nU6E2qOfrDDnQdgryr6 v6PLroQVF4w1A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([95.223.44.31]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1ML9uU-1pI2qD19k2-00IG2C; Tue, 29 Nov 2022 11:22:39 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: linux-spi@vger.kernel.org, Mark Brown Subject: [PATCH v2 2/2] spi: dt-bindings: nuvoton,wpcm450-fiu: Fix warning in example (missing reg property) Date: Tue, 29 Nov 2022 11:22:25 +0100 Message-Id: <20221129102225.3598044-3-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221129102225.3598044-1-j.neuschaefer@gmx.net> References: <20221129102225.3598044-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:37RMk8+HGcGRs4RthaIi7B02O6Es4HvsaRkekBdN3uGdbb9W+h6 w/TxBKwJUAn/LIWYvS+ALmbCWH/uqNsUdER8fKxgK5kukwOO/IQRgChvKdKPVbxNLmthtxX FOUdvZJbpCE3E5Ax0xsTyYeqfAFkLy9bpHSzeMIGD/eFXPUAJjieo2KzwXMpDJl7JK9XTyJ a6MlPvtaZyJ5DcmQ2uBig== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:2kBgosZeI0g=;XxUd51KEo56pe33H/BWqf23JDVK t8LuwgMI6PcxP2WBKUKe3dhsR5/U9xLlgSuDRym3omKVXs4NElGix+3OgMzQ4nQHeC6/FvPTz PFBN3SWRRMF4bcHQqyUObvHB9l7KmivlphRgHoeTUJrWn6oAkK0srxToLNQJLaY85ZAVzv3k7 DZwLp1JUQ7+1+DdScK0Df7Rhbuc49zSa+lcSAufouZ4gpVIPsCSF2PK4/LnHLD9WuaAZmod21 HAD18Z8jbluOrds3n8OFeEYoWUFYO3J0SIUPgMbQanqS/11E4tf5H2xKtVrIXLzYnhxYk83vS PTHvAGxZ2/5hVAAHC19S/FvOGQ5krYuHTIGKgVSLY5FKkNFl9todDj4t8rSwTjuoiYjGS4b/J EAa431Ld3MtoWfMYHyNfisfFZdouDXq8ALl/0rzwjRX3SquEcbgxT/rEIgGHaKQCqexudRNIb aYDIFhnKiIsotgqncmKAmHFtJB/IMR56w06yeYrb3RBq0V2XczgtfEyJIA4b4zUQjpXQ8hTIE nK8pPhkr53PGg7rT+qtu3tryPF2VAvph5AKQmmgYPdtFBmpYH94EapyCi7d96RnYrWbJKz+SS SV1Eptuh8KbSHolJaKBF9wGXsQAeAQ68Qr33c0wqsMEQhaXlFuuClT2LZJej/HhAeM8Jn08l9 JBrFQee7vyqsVjZcKlSjUNAfzhlnVX3zzPQsbB+c2cKCNbh994K6jFpg7MT1Yi0GUav+An3+S +B9LM2Mz+JsvoyjBqOSZGLe4Z2hbZHXAQZbGC3Qe30+ZkGPYgoqNrdgm7VdGIQtExSyi5o1/g JcxgM5kBNu0teaM5pkmmYho6O6vrIheMrS3gBGOJbKNZloVgauC0pRJEp31cXWbBOimf4zwLv qcfhH83spSbBISRGUoYoVLssMaBW/iTm/bFu3YKh540hbGMKu21UEKssu3C8WdmxJF/anXXgI ckY8yj4MITBBIwXr78LqgZNV2W0= X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , openbmc@lists.ozlabs.org, Conor Dooley , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" Add missing "reg = <0>;" property to the flash@0 node in the example. Fixes: dd71cd4dd6c9b ("spi: Add Nuvoton WPCM450 Flash Interface Unit (FIU) bindings") Signed-off-by: Jonathan Neuschäfer Reviewed-by: Krzysztof Kozlowski Tested-by: Geert Uytterhoeven --- v2: - depersonalize commit message - Add Krzysztof's R-b --- Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.35.1 diff --git a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml index e4162845fcc1d..4e0d391e1d697 100644 --- a/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml +++ b/Documentation/devicetree/bindings/spi/nuvoton,wpcm450-fiu.yaml @@ -56,6 +56,7 @@ examples: flash@0 { compatible = "jedec,spi-nor"; + reg = <0>; }; };