Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp22699rwl; Thu, 3 Nov 2022 19:07:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6/TREMDyy88DFkoOzlkaNqZKhwgVYcve/30vUS+utkFmXJRk+B7FVagg4U0xjFwR1JJoNj X-Received: by 2002:a17:907:75cc:b0:7ad:b9b7:582b with SMTP id jl12-20020a17090775cc00b007adb9b7582bmr29124821ejc.150.1667527621999; Thu, 03 Nov 2022 19:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667527621; cv=none; d=google.com; s=arc-20160816; b=qrj/U/pu+RXhW3e8usizNmzLdZJAMYq4JiUrs+QN1BFZBlY3daDG8uVebFfmDgj7/n 9xSNb9BEai6LPtY8D5enMjtbokSRJ3Wt8SerJe4PUh24k968aMxZOLSoJnZXqcWv4hIy vUhSgYhybYeynTmo/xxvBPR6XArmdv5YwiUjwyo9HV3BOa3otxneN2/tOmdmE7hgtM5Z 4NIdns2Bi6deP8eSEgcXDSmqkzHurYV7de82HXBJMOHlxG0ranDq8lZZfM4VOrE0qoYs Sbn6rYDbNIXyathVxwOI63Gdj8c4dIF8IuekD3SboJ5jRRkoHqBOsa6d+X/xJ6tgnTHn ZTtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hT/SdExSBeWqGOeMZwtQU19dNytAw9YzFepcl5M2oEk=; b=pbsWhmNMzaKEcNb/fr8fWmvzSJcUwdBYd82MYl6C2diyTF0VpoVsYdk+i3X9xhznDj hWoNSnqbceH2rBsty2QkZpjoPmrYq2Vq4dv0qVtPqFdWTKi72uZ2e7egHidBM77zT5QX FduCy1jLwKHf1ALrmuUcw76nQybR17LK9nDkDol1FFK8QkRD+E9DJbRKOkDee61VTa5+ U7umabXEfHL5qc8AoHpou66C5MBrIrqxjE0KmYAU5RImit4uLCvO+M8tCpo3O43Y5i34 HD3Trh/WvNQUnOkCoNNyJlfII2W8dpDEDyhiW9377FZwxB1NnNZxlNbHHSDSxUIX29bZ cSMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=neFQ5rRk; 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 sc3-20020a1709078a0300b007ae127c6c7asi3979211ejc.176.2022.11.03.19.05.59; Thu, 03 Nov 2022 19:07:01 -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=neFQ5rRk; 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 S231217AbiKDBol (ORCPT + 98 others); Thu, 3 Nov 2022 21:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbiKDBok (ORCPT ); Thu, 3 Nov 2022 21:44:40 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A49623E99 for ; Thu, 3 Nov 2022 18:44:39 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id hh9so2318973qtb.13 for ; Thu, 03 Nov 2022 18:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hT/SdExSBeWqGOeMZwtQU19dNytAw9YzFepcl5M2oEk=; b=neFQ5rRku0m2X/CoRDbttH0T1FU8Ki1HUIm33wwuxFuMgcmYJ0Bq8v55tKfyGcoCK2 gx7JSZVX9JqB814QYB2IIcSj8e8cXoSkrywiz0UlrceD49+buzK4hRPxNZqUx9jZwtHU EiiiUo3rOAOZjgikzCH6d5GW4z2rs4EwQTihUZu5fKuSVvkhYjnsZVfouV1WSbiwnJKK xT2rjoVTPQe/rRyhs8Jrj3mQmvMhybHt8/BqkuA6rXFs9UL4lVmKu4b9Ha0xGW551ZSG 6mwfbRStcXBeC6dNx+teMZTJ201vBD93uuASMWN/FHy/5/Ju6POZ9HZkvt6fxRcQD72X ABig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hT/SdExSBeWqGOeMZwtQU19dNytAw9YzFepcl5M2oEk=; b=TVcvoYJMOAhTCtXQOnCD5HDXhhn58Ya5kx/Y64dGPzPcVFIqnKPJ/QsP8YaTaYprEz RdRWd4w4dz4CHsv72cR1f/1vWdnNx/lmOXfVCLZABm7LKAzY0qYB7BBcveXK7lZR5Ju7 UXEka2RMskEKPR+pCP0lFY/o08RBGazru3bAD1+/Puq5CfvKUj02Ub6yIoiBQeWzZiQ/ bMzg38mQB+lKtUE/yg9iJg5C4wFDnmLsmKAPBfECbmuj8FD9VWbXrQctcwj5Lb4BPEVW 5QcAHPZpllmM0Zxs434Y++1KwkCvbKYyfNlEmgVeNBCV2m4/DjXEtZjGmWc/Ou04neOl HUrg== X-Gm-Message-State: ACrzQf3IOOVNzOEMQhbLnI0uznb7IJy2PNJSnC2LQ633u0aNmjIi5aTt /Cu6DAsYyP0NhQvh7WdAzE+Z8w== X-Received: by 2002:a05:622a:1cc9:b0:3a5:1f48:5048 with SMTP id bc9-20020a05622a1cc900b003a51f485048mr22591599qtb.552.1667526278181; Thu, 03 Nov 2022 18:44:38 -0700 (PDT) Received: from ?IPV6:2601:586:5000:570:da2a:9e7e:ddb5:dfa1? ([2601:586:5000:570:da2a:9e7e:ddb5:dfa1]) by smtp.gmail.com with ESMTPSA id u32-20020a05622a19a000b00398a7c860c2sm1629113qtc.4.2022.11.03.18.44.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 18:44:37 -0700 (PDT) Message-ID: <698c3a72-f694-01ac-80ba-13bd40bb6534@linaro.org> Date: Thu, 3 Nov 2022 21:44:36 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v2] dt-bindings: net: nxp,sja1105: document spi-cpol/cpha To: Vladimir Oltean 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 References: <20221102185232.131168-1-krzysztof.kozlowski@linaro.org> <20221103233319.m2wq5o2w3ccvw5cu@skbuf> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20221103233319.m2wq5o2w3ccvw5cu@skbuf> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 03/11/2022 19:33, Vladimir Oltean wrote: > 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? No, they are device specific, not controller specific. Every device requiring them must explicitly include them. See: https://lore.kernel.org/all/20220816124321.67817-1-krzysztof.kozlowski@linaro.org/ Best regards, Krzysztof