Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp354563rwi; Wed, 2 Nov 2022 12:44:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5k8aTFcrV/3BHSr9CIrSq3MDXostmEQNrHeBVkC2DrQP/VkesPJ3b+tIABXczOGGZ4BhyG X-Received: by 2002:a17:90a:a88f:b0:214:25ce:fa67 with SMTP id h15-20020a17090aa88f00b0021425cefa67mr6895121pjq.116.1667418267545; Wed, 02 Nov 2022 12:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667418267; cv=none; d=google.com; s=arc-20160816; b=Lyvfipi0rLlyTnIIdqQd7pURqKrqt/hMWDF0+FMaGGXaqFRv7qErGNQ+GaV+VshPgI 7VQeO3DCRL0Z78154+Hz43jj4Ym92cQ/iu3XNnYJSO/krRhIh94bcNml1WqwQDvWHBqC izoWStCUhqCwIt5tdp3PiJMiO3uQGTmH8cQZi4Ls53bLjnZtpwIiyuuBsPy7hnUXRIPx l5BapIkpF46djVPgt5vFaazbCyDPaHaWLUVxN1bbrjYn3Hitex+h4NaYEOc9wYlNavY3 lov6XxGiACcHgNY0fb36z+m57HJQTCDMaCB94opnle+oOptHfS4IDIVhmdkmB5jfSbeT DeeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XY2P6DWTOMi8nIXSylwfx8faCY5gykzO71qEAStGHFM=; b=TBXc14b64ZGHi6ew6EhFTQKz1hR/gssvSF7zxhBS4I4O4PJSVSpVZEHVu18T0+iDiH hLeBWMH/PkSnbdOBMCkI1b8cC4snwZ7GxkSCYgbYxjr5viHVJXuzOSos5p+nhZSPrEgw 9B0Y4cK2sbhzji/jolDgAq2pAt9FObTisWXLgbmynAu9+6LE+jd108uPBqE+qR+ZJH41 Ni5e2nDx9O0an/LB7M8vBdK1S9fndRORcFzWgQm69sMDELq2yaN5XcpxbrshXVvytFRK Hk3X/lwpbWO2jIf3tL2Y5/KET1wilhYhOvaJRP0RD+lIS+glaE4FLDgqxacYardN5y4P Rm8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yAqMdJPr; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pa17-20020a17090b265100b0020c060f42cbsi3116196pjb.98.2022.11.02.12.44.12; Wed, 02 Nov 2022 12:44:27 -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=@linaro.org header.s=google header.b=yAqMdJPr; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbiKBSwl (ORCPT + 98 others); Wed, 2 Nov 2022 14:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbiKBSwg (ORCPT ); Wed, 2 Nov 2022 14:52:36 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 038BA1F624 for ; Wed, 2 Nov 2022 11:52:36 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id o8so13101569qvw.5 for ; Wed, 02 Nov 2022 11:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XY2P6DWTOMi8nIXSylwfx8faCY5gykzO71qEAStGHFM=; b=yAqMdJPrNsEmbfN+mOl6g9ycWDlQ/yIO59XvIUZPXnq3Uun4s2DZ7q+NSoJfCZENRt 8bhKEjU0tx7e6VqUoWIQyOyIAmKzqjbIowDZDxLfqXSLBE4KQt4nostkH051DJWkaMry 6zpvOt4ZlLT03dWICdlk/KHhI69Sq+PUqelBf265zcRIKWF0OyGHPH8FTjwgegoww0oz tSveV/FKqIKcGNB/qjHqZ4jFE7hfiSXRvTeKdeKFTtVQ4wiNnWVj+8IINkI22F4Btk+K KqB0V1CW+yV6koc9PrckEgPVRWjv5ih6Qa1WKdU0jvPXWH1jvZCbfLCevjUjyW4dRFUC MQTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XY2P6DWTOMi8nIXSylwfx8faCY5gykzO71qEAStGHFM=; b=T+nI6uMwyJhbelieQapkUbdGPbiLQCG2Wp2Db4aLmsSYVmwUDAV7n5x4h0MNdbNfEH wtaZGaKcURU4y6grE87VlOFWnsg2zvBJwiyIwq0HIW5lXt5Iz12YjZ8oM4YaaRgnpu9M OhcwfMEmqfGgY3Si6pGhrLlcNifBXzE7sVP4UdRtZcRtRX5TVKF6YL4ygXewENUhI1jG nQdBVV+kXpgDbjoUdC1S+rZquUzE9xHDka3wiuqD5YM0vsdgJgYJk09mjjkovq+98yuK HOA/V75t0193UOBldXp4t6TV5dhVVbQM02ELlnwENt+d3Q21T2w8KqrxtbrtXwpjwUiY G2qA== X-Gm-Message-State: ACrzQf0BJSjisGQmpV23D/hyHi5/QAUMLx0wvB5XukpYVL64OA3Rk9SF yrKQ+5KIGsI6eTXbKfi1SmgKSg== X-Received: by 2002:a05:6214:27ef:b0:4bb:f5db:39d5 with SMTP id jt15-20020a05621427ef00b004bbf5db39d5mr16664293qvb.43.1667415155208; Wed, 02 Nov 2022 11:52:35 -0700 (PDT) Received: from krzk-bin.. ([2601:586:5000:570:28d9:4790:bc16:cc93]) by smtp.gmail.com with ESMTPSA id ay7-20020a05620a178700b006cfc1d827cbsm8874387qkb.9.2022.11.02.11.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 11:52:34 -0700 (PDT) From: Krzysztof Kozlowski To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "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 Cc: Krzysztof Kozlowski Subject: [PATCH v2] dt-bindings: net: nxp,sja1105: document spi-cpol/cpha Date: Wed, 2 Nov 2022 14:52:32 -0400 Message-Id: <20221102185232.131168-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 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