Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp66966rwi; Thu, 3 Nov 2022 17:22:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5zpSWxBuR+ENLy5fm1LBimmmLQXB0BSj7z3TIxu0SMrDRZnC30XT1LXMMXDZHd1Plez/85 X-Received: by 2002:a05:6a00:1947:b0:565:c337:c53b with SMTP id s7-20020a056a00194700b00565c337c53bmr33018084pfk.10.1667521346520; Thu, 03 Nov 2022 17:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667521346; cv=none; d=google.com; s=arc-20160816; b=SHGhlSulfxxnSIqXRGDrDRWN1yLlM/Xi706sONrt4L3cofTtghOSUucxjlbqKSNqbu /kJ2HvaFfoV7VMei2tU3lUuz7x4fkRCgk57L5zBJPLHhHKkCoJK9+KDzmYGvKrcvA06i GRbCZaxBR22cxR/5eu60JHgiLQWn4BXWoTVPywNBR4qazXvIRm0B9l8gp85EOgDIpAf2 qkT0Qtto5Byo9qd1TcnMiOdoLq9Rxnqk27poSBl7+yDGZ9DBf5OjWe+Au7rRyiFTws7B WA5YBfjImwj0pe4SzaXDsDlGSj5Tx7IfeQjlMWws8fTuEbwpkAAjHItyBoYTF+ZJMvtC rqUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UQYI60HPFAeQV3YgrEAYhfzgwL+NL+uq4fz1h8XP5dY=; b=zJET9Yr5SvUedCmouegKA9b+tfA/sLw7fVu+E3wdDAoDgDDJQR0JG1pKgl6ZBWu3cn pGKM5Qs5HYFegZIZQ86rCYZtBF2gAQhpDhLxicSXmX5kQBC5WZ/hCjqzASM//AohfGYZ bzsFh8/CyYEup+OjgsTa3tcMC/7UqdKtH4nI7sVCoQVzZzfXvj+XBm5OsMH347OzXm98 wUS3WCAEh0tNwlskRk5GHCaPTOAkLIlB5vuAbRCJhl259A2l/6Hk+DKkNoTHDyre9/DN bW5IEmiuwg9Al9enlnaG2YGkYyPJvg9VLjx5aWwsw20dzDeg4WDAIvORci3jsHt1olti a7KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="fVmN0B/V"; 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=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd33-20020a056a0027a100b00547d55a4d3bsi2645002pfb.285.2022.11.03.17.21.52; Thu, 03 Nov 2022 17:22:26 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b="fVmN0B/V"; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbiKCXd1 (ORCPT + 97 others); Thu, 3 Nov 2022 19:33:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbiKCXdY (ORCPT ); Thu, 3 Nov 2022 19:33:24 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 713775FDB; Thu, 3 Nov 2022 16:33:23 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id 13so9348935ejn.3; Thu, 03 Nov 2022 16:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=UQYI60HPFAeQV3YgrEAYhfzgwL+NL+uq4fz1h8XP5dY=; b=fVmN0B/VlowI6Xn6+GPMC+FIrSh+IcVpVD1CnIcvpBt4BaY+TeHDofCBqwtyTpYSj4 mEXXoYTTIOazczI1l0VrX3UkYfaiPgetWGwxJhGetTpdEcmh8VHxewPtzb5JJflZbdvv VdDsQmCJnJkkA/UEZ1Xr9t+EpfU0UuUNwI+u3LQt6X7gVwsWjAk3PklTLgIiDJ8casoQ jUcJCc0uIBNSIWNxFMfH/Xtum0VUwO5r1vBNS5jqDkojQOrRuI8aJTJeZvY/aVhHFVPi teiZy9b9ebqaZuzNYQ8AGkCw84Af5WSkSfqv5PyZxU2XCae6TG5ZwpVTu/dFX5JRQrL0 LlbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UQYI60HPFAeQV3YgrEAYhfzgwL+NL+uq4fz1h8XP5dY=; b=aLuIFkZMXNL6wvNeWs2V5ZnvqgKGaPnAuprbTkVDImWsV9dPNhDXo9YWVMNVRp3009 2l8XO9tFij/YqX2DQNQHQBDEUS/QBMfItrc3R5kmnV8D6rEoamzIBNcaLnP9/SamyeIm yAe4TRRByVQIKhX1ufwcKqrxCbN3NsAmu1yvckepAgnMLN2XOrQ+ceTdu1hyk/xOAwzz HVF5vR7CHm9/9mvVbM3shscA56axQBDjCfJlsWKX5iCFi1TN0MMjHiq2+oIN3HvsJKXg +3YJ568vm+Owh/1Ote+/jlmo7KGutvsTgLKaXd7c/QcRf8oq47zuTGI5pNdhBCUIZ2W4 fKTw== X-Gm-Message-State: ACrzQf2Y/2j8Xzth2/DCze4bz6Ku4+QE5TGTCD50a8PET1OO6jHodf4v pqvokkdm9pis4Gf5dYdYj8hLsRtGXvHN6R4P X-Received: by 2002:a17:906:7d8c:b0:7ae:159d:1146 with SMTP id v12-20020a1709067d8c00b007ae159d1146mr6347842ejo.528.1667518401916; Thu, 03 Nov 2022 16:33:21 -0700 (PDT) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id s28-20020a056402037c00b0045bccd8ab83sm1131934edw.1.2022.11.03.16.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 16:33:21 -0700 (PDT) Date: Fri, 4 Nov 2022 01:33:19 +0200 From: Vladimir Oltean To: Krzysztof Kozlowski Cc: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: net: nxp,sja1105: document spi-cpol/cpha Message-ID: <20221103233319.m2wq5o2w3ccvw5cu@skbuf> References: <20221102185232.131168-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221102185232.131168-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Krzysztof, On Wed, Nov 02, 2022 at 02:52:32PM -0400, Krzysztof Kozlowski wrote: > Some boards use SJA1105 Ethernet Switch with SPI CPOL and CPHA, so > document this to fix dtbs_check warnings: > > arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb: ethernet-switch@0: Unevaluated properties are not allowed ('spi-cpol' was unexpected) > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. Add also cpha > --- > Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml b/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml > index 1e26d876d146..3debbf0f3789 100644 > --- a/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml > @@ -36,6 +36,9 @@ properties: > reg: > maxItems: 1 > > + spi-cpha: true > + spi-cpol: true > + > # Optional container node for the 2 internal MDIO buses of the SJA1110 > # (one for the internal 100base-T1 PHYs and the other for the single > # 100base-TX PHY). The "reg" property does not have physical significance. > -- > 2.34.1 > Don't these belong to spi-peripheral-props.yaml?