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?Jonathan_Neusch=C3=A4fer?= X-Patchwork-Id: 27153 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp250947wrr; Tue, 29 Nov 2022 02:28:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Az1ADIztVr/G4GRjgdJ08BIkYG4GyHCrUzrMqVwcRSN3aipOa8wnfATLMcJyzw1qwzhTL X-Received: by 2002:a05:6a00:dd:b0:575:5db5:d768 with SMTP id e29-20020a056a0000dd00b005755db5d768mr5553414pfj.20.1669717703940; Tue, 29 Nov 2022 02:28:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669717703; cv=none; d=google.com; s=arc-20160816; b=tafhCRSVZLBKVRjwicLEwY+Bf2FJVbwv9VWBjqhX+8lfluq77P9Z1PVrzuutxf51UD mETtBJDXFSKVNX2cN3g/Qi/YWDNoFp7AyqSACifh4cAnsJun4vFyT2fmigP4yEXr6NML yeTQTUXB2ByzJFAfapRUen6M7M8mOyRyrPNBtkaEaprKS6Cpg8HzHK3EltTxfI9hMi/n jt1d7IaWhqLY8v0P+zgrCPt2ZWhBkUorAAKgsHIa7t2GZyHyQxTs8fEzgrtf4KX0T+Sr pDj1aNR9Gl2MqKw/aa1yrovg5izOmPNYvYHcKUBXjZgBvmFCGLqmZuZc7yxWxBthKlky jGMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=B6zKVtpFNM6Pa+rYHlbBophDL6DvUR4LuKQz6QBPMq4=; b=fWcpBtAwW11e2JlBA0CXlgflpKYOqgbTYT3UDukm0l0VIaoKfEX6yyOW/5FB+Z7UPY I7KvK+QX9yG8NViPehgI9EFOKvsuHDVc5Bchlg+aHqFf1RFCwuK+cUTSvlscYwN4sbrx /LBChdUf+V85zuUGmoVZswnGnebf9iUPtaHw9ImBVQJxl7A9R0ec3UEVvcPEe6/w0/Cp imtL7Zyr85JJ5IpN0hbr+29ajM/NPxOVC5YJFPHqzsNoSvwTeihkBe45Bt+WzVQe7XFn DWd5ItICTdowXVZKMKkF6O3e53sipSDjYugrDonabInEUG6tqtkKjiYz8yC/piPJF4HJ JFHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=oBqKylsE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a17090a6c0500b00218906bfbcbsi1287211pjj.172.2022.11.29.02.28.10; Tue, 29 Nov 2022 02:28:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=oBqKylsE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232115AbiK2KXF (ORCPT + 99 others); Tue, 29 Nov 2022 05:23:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbiK2KWu (ORCPT ); Tue, 29 Nov 2022 05:22:50 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02BC9D2E4; Tue, 29 Nov 2022 02:22:46 -0800 (PST) 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 Cc: Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , openbmc@lists.ozlabs.org, Krzysztof Kozlowski , =?utf-8?q?Jonathan_Ne?= =?utf-8?q?usch=C3=A4fer?= , Rob Herring , Krzysztof Kozlowski 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== 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750825911271994632?= X-GMAIL-MSGID: =?utf-8?q?1750825911271994632?= 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 {