From patchwork Wed Jun 7 11:55:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Leonard_G=C3=B6hrs?= X-Patchwork-Id: 104466 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp304718rwl; Wed, 7 Jun 2023 05:12:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5R49IHv9cDTAb18p3EjB3HGbZBC5L81vZWIONU8zhSVGADZf6q53DgpnlIzVnlaYV1Wi8Q X-Received: by 2002:a05:6a20:429f:b0:10b:bf3d:bc5d with SMTP id o31-20020a056a20429f00b0010bbf3dbc5dmr972988pzj.47.1686139925781; Wed, 07 Jun 2023 05:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686139925; cv=none; d=google.com; s=arc-20160816; b=zZ3zsT6Z/1WuIkGfTAh31ops8gDGylMfAb1iGWJX07V781TQjXlfplJxCC2k7dKXUj 5KxwIvToukLCqhnaY4WZIW7xVB5VPmHqcFgVR9N+yqVLtYmmp7rsxzZppM4WpxW8DgnU B0BoKPjnFQpbA9ocWxNhjiBkdy2y36AlmHPhvT6DjiDu+6sonYB4J1ri/1ea4wt2qwlM brpZ8lk+37HX+dnniS5D50TIpKYM7LK99jAZki2zh2z7KLOSx4amCesuVLl2XutLcmyY 38cQGRR374Xm9uLMbhCwMh+RvQRdgikwmSx6xnV2lb9S31VEtiuOlrniexBTJmmnHhgP WsYA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eWZE95RR8oCkP4gZv4NP0LXMNm1JLYW9qLU0qSQdJOM=; b=V9y0KHZartqT13pa1dp4hPFTrGTo4jWrqvN+wVoKdeA6XvzCdsQXpbqSZbEYuPE+6s 4f8+MCnGDfwLZUflEp7BFIfslxJsVb3GuPXz+PiBFhCE7cB9F+De8+4VnLhJ+JAn3hUk gN5ZDn7SFU0weGXGFW0iZAi6XkqSZk7wH++e6cwWQTO1pDTGUZEFqgGi8Qe1AMuEq5SP wz7EUUQag65hWq3aWkgv2kUz79SwZ0NvJNDdSLbHiFNfebrQ5c3EyWT4LVeI99WerrfY wDEF7xd7H5vucW67ZMC14uLusEBoHcnxhNaWe8b/tjgI0xpC4mYJ1FetF9/+XAUh2T7h q2eg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020a170903111100b001b049682a8dsi8896393plh.458.2023.06.07.05.11.50; Wed, 07 Jun 2023 05:12:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240471AbjFGL6G (ORCPT + 99 others); Wed, 7 Jun 2023 07:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240475AbjFGL6D (ORCPT ); Wed, 7 Jun 2023 07:58:03 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821061BD9 for ; Wed, 7 Jun 2023 04:57:57 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q6rnC-0000KR-M0; Wed, 07 Jun 2023 13:57:34 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q6rnA-005jFy-UE; Wed, 07 Jun 2023 13:57:32 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q6rnA-00CTWN-6f; Wed, 07 Jun 2023 13:57:32 +0200 From: =?utf-8?q?Leonard_G=C3=B6hrs?= To: Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marek Vasut Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/8] dt-bindings: net: dsa: microchip: add missing spi-{cpha,cpol} properties Date: Wed, 7 Jun 2023 13:55:04 +0200 Message-Id: <20230607115508.2964574-5-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607115508.2964574-1-l.goehrs@pengutronix.de> References: <20230607115508.2964574-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: lgo@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768045858700257081?= X-GMAIL-MSGID: =?utf-8?q?1768045858700257081?= This patch allows setting the correct SPI phase and polarity for KSZ switches. Signed-off-by: Leonard Göhrs Acked-by: Conor Dooley --- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index e51be1ac03623..f7c620d9ee8b4 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -49,6 +49,9 @@ properties: Set if the output SYNCLKO clock should be disabled. Do not mix with microchip,synclko-125. + spi-cpha: true + spi-cpol: true + required: - compatible - reg