Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp887795iog; Wed, 29 Jun 2022 12:14:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s6wI0/IE4+nGF1pD/XmXuJeJvxJ8/XKLLFzIWZLmfEjATbYj+7ZbpWojO0I01O8eFsBMND X-Received: by 2002:a17:907:97c1:b0:726:a646:3b95 with SMTP id js1-20020a17090797c100b00726a6463b95mr4705380ejc.253.1656530089603; Wed, 29 Jun 2022 12:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656530089; cv=none; d=google.com; s=arc-20160816; b=VvVgkj33NpjoEkdACKSvO3NI4LYzOszLDurey70qtAG9rxFNoob6EeBJOvKT4GHDxL eEXbJ2r4Vg0E8G0Vqv76a3sbTC6SwqW/4UB/b2rkJJNoG1xAmU7Mx6EVl2IJO/X808tZ HgaRhAKl9G+dUYlVP5H6+U5C3Kv820CXGzhAkxcKUPKIDfW6wMg/mOAc0xDVmehT/kVm r03Nq5ky1iZxcD+292WanT457UY7ucQ11f1LDGoGeTtfua+vE8nnEqsE2jyhF8Pz6tUN 3tfErDolcY6qviG1H/gY4w4kZYEG7RvDFVHi/wkALHlvGDfnDKHH7zyGYkIXJRbDQI4p BMqA== 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 :dkim-signature; bh=lSAtLBVYvrx4+26h7+GvQLFIbOLj8yUyLWcfE4t8YDc=; b=zLQVX+tjdA8W6odGeEtGIwF7AbQ2lqh1kSVCigDEVsX5zMrbpxiWUWYIsbEFxHX5uu 4cCs4zgScQGGqLI0hsdQ8IgSExR/8a7r0USawLzymOfyuK6Vz0s/fAmV9OGaWMsA4o7Y 7zrrZlYUM5/D7qPC71iopvcfj7stIOJLo8EryB6w+hSI9cC49WLlj5WZ2Zy2/hS6f8AM 09eBTWWApYw9CzzoqDOPJ2E0PG2u7PR98fjksYMFBD83imYfbpOZ2YbzIirvhHY5imsB Pc63E2Fzbu6ynxpUY1ANwltJIz7ATEpfgW8CIRIzybNGwx1uzI6m2VlxDrZMyHm1BCCQ ezkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b="Gg05/t+/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du21-20020a17090772d500b0071097667454si16998764ejc.800.2022.06.29.12.14.23; Wed, 29 Jun 2022 12:14:49 -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=@conchuod.ie header.s=google header.b="Gg05/t+/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbiF2Soz (ORCPT + 99 others); Wed, 29 Jun 2022 14:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbiF2Sor (ORCPT ); Wed, 29 Jun 2022 14:44:47 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E83C25C4B for ; Wed, 29 Jun 2022 11:44:43 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id k22so23787782wrd.6 for ; Wed, 29 Jun 2022 11:44:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lSAtLBVYvrx4+26h7+GvQLFIbOLj8yUyLWcfE4t8YDc=; b=Gg05/t+/FXPkRenwx1qHvhlOMODtFpKL/no0hINP8JMW14scbGTJqbUefdhtwratgU grEGM8eU4lWFIiPESGiueYpts7cjDlJRLBIzM5ZsXVuH9FzkMr9tHsBgVVqjWBN1GlvK 8Q8loTffgUn8dEzgkBiOh2xMyV0VFHVAZAtsSavWDwGncJhky3H7ImOtJQlzgOOWAqUY iJQrWXeLhD8IqbgRQGGdxV35uefbG0o1zSbrLcVIYjgZlRqMq28pTN5szQsAw/tFRiJo YAy9bH1NwbpaHtrgHoUWaU2YAC7ZpC+O10b5BEj7lUVsyLa3x39mZw6dh7g0gC0fT41X T7gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lSAtLBVYvrx4+26h7+GvQLFIbOLj8yUyLWcfE4t8YDc=; b=Y/5e72gnyVXcMSuYdwr+YQEpCaQ/m4gfA4ao5cgntQtjA1BITjYV4BHlS2Qp5TLiix hnoc4VhWTIlZlIwKlo3hDCAE0Zl4lF9pG5sNmW3KMK5JtLhAgPqZcV/CX9XiXXvNw8hF pooXK1VydB4ctZ9b3i79MNcjM/wIMXEsorKWauHzxrvNcBoYe0fyWlTQfb24QNjmzakc 2VfwXODgQ1iUABNMOCOBLHqdxq88gCe/DnD6dc99g4TWKYTcPajAF7TOiXpvyHtuiqfO pBN+LbDexPzGHEYXpLxWSLhPg/0V0o4poYTbhM2csfQp8tPTlPW6D0jLkn/sv+Y4qM+O Iadw== X-Gm-Message-State: AJIora/M80Xy7AHud5DPDkVru/wkladYC1PX866gZoG3IWH2SirRWnAt TAHNmwvn+vATltkXkksgReBBfQ== X-Received: by 2002:a5d:4e47:0:b0:21a:39fd:5bb5 with SMTP id r7-20020a5d4e47000000b0021a39fd5bb5mr4583796wrt.712.1656528282726; Wed, 29 Jun 2022 11:44:42 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id u23-20020a7bcb17000000b0039aef592ca0sm3834371wmj.35.2022.06.29.11.44.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:44:42 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt Cc: Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Jose Abreu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v3 04/15] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width Date: Wed, 29 Jun 2022 19:43:33 +0100 Message-Id: <20220629184343.3438856-5-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629184343.3438856-1-mail@conchuod.ie> References: <20220629184343.3438856-1-mail@conchuod.ie> 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,T_SCC_BODY_TEXT_LINE 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 From: Conor Dooley Most users of dw-apb-ssi use spi-{r,t}x-bus-width of 1, however the Canaan k210 is wired up for a width of 4. Quoting Serge: The modern DW APB SSI controllers of v.4.* and newer also support the enhanced SPI Modes too (Dual, Quad and Octal). Since the IP-core version is auto-detected at run-time there is no way to create a DT-schema correctly constraining the Rx/Tx SPI bus widths. /endquote As such, drop the restriction on only supporting a bus width of 1. Link: https://lore.kernel.org/all/20220620205654.g7fyipwytbww5757@mobilestation/ Signed-off-by: Conor Dooley --- Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml index e25d44c218f2..0a43d6e0ef91 100644 --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml @@ -143,12 +143,6 @@ patternProperties: minimum: 0 maximum: 3 - spi-rx-bus-width: - const: 1 - - spi-tx-bus-width: - const: 1 - unevaluatedProperties: false required: -- 2.36.1