Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3275220iog; Mon, 27 Jun 2022 12:43:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbIy+zSkKeB2xXLgQEBlCdMZcU3qvTG8LDRSKzrC98lzxMl5kqcIfubWxAnuTvILKa6+mN X-Received: by 2002:a17:907:7e86:b0:726:2a6b:1623 with SMTP id qb6-20020a1709077e8600b007262a6b1623mr14416905ejc.706.1656359017131; Mon, 27 Jun 2022 12:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656359017; cv=none; d=google.com; s=arc-20160816; b=j6OPB0d7oIgoRvMCCF/ZeoNvB8ACOAit0oK4o1z9pm4gdYTqGh3AZO04S82mf+gPLW 3XeJrh5kDWH8sEW9D2zuXs5PfnlFJjmaVqBejMNYVqCruCavqbrkZDuIC9Ewrf06bJzD DJ0zFnWntYayqZa78fCiNPRDX+B2joL2ffLbPQMlqzEB45Dlri8fSmnLDJfynWib69uI QI6FfDPTtWu6eWipVbf2weqwYTj40BvkzpawnIhapBaTnP05xiov/cynwyitZ2BkaZm3 cVR/3psAIkO6ICrKcdhNQO3jl2XO2Rn1dInXCF2lE5FqTCW6r6PXLD/QrlQJ8ucuwzuo omrg== 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=rPDKSpav5hSShjOawRd8sA//kdWQiIl6x3DL8tBafaU=; b=0jQLmDFhpnolBOxJwcx7sFmuTz9zcRkkKil+gAD4X4jIbVveI1m6hVXcjV9DAqJjTo Thkw63t7qf+4o0GkQV+WNioJE5ob1PHcF8ggKr1Jns8abIGcNQrbjCk9rsbv7mkl+Nv/ rQQyAMmSvv7YNinT5M5NYwNz06r4Cots7LoFDrkmTrwa1M59bwkGhmVh8sZatSmJeaSU g2iuKS1Gw5V8B0d7SGs6xdVoThX7Dfa61JxZV/G6HPk874UsVeJreMp8RzOiOE1J++8M wfvDtGj3W6ht6rPDuFpmRqkBuzZGlxzdZqh+o4Hna/75CNOt2MINtKOcHgFKqWxLnC21 Shew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=C1x747pH; 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 ga3-20020a1709070c0300b00722faf491a0si14549075ejc.686.2022.06.27.12.43.11; Mon, 27 Jun 2022 12:43:37 -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=C1x747pH; 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 S240515AbiF0Tle (ORCPT + 99 others); Mon, 27 Jun 2022 15:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240446AbiF0TlY (ORCPT ); Mon, 27 Jun 2022 15:41:24 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B87EA17042 for ; Mon, 27 Jun 2022 12:41:23 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id b26so2095945wrc.2 for ; Mon, 27 Jun 2022 12:41:23 -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=rPDKSpav5hSShjOawRd8sA//kdWQiIl6x3DL8tBafaU=; b=C1x747pHFCl5BIqO2tKVzQODSEqSKX0M+cQ0VD6TIiatD4/0B898wZwGc+vBUmCQ0Z ADkKctZpaFeqts/DgO6pXu3oW1ot2vW9NotfT4U4Xa+zwfZDDxaHFDiYVvm2R9CNqtBj E06Rcknh3CHYad9cflRuFOXZX1vmY5B3c3ybS+4vwbu/3Wp9I852RvQRqqNz4cuKOOgI n6ASQz3H09UYndOSN0Sl15ncyePaPZCwy8CrQeWv2hWUXslPkctHVLpfaWL3RtoOlIom 6s/OUA/vQFDetPTA2Tu0u58R+o5XSwX+2TI4F7Y5afZgDMoZsAgvkVAFJy3S7tg8MlqF 4qZw== 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=rPDKSpav5hSShjOawRd8sA//kdWQiIl6x3DL8tBafaU=; b=pQ8muVkgq9PiMk2+0Yda3RS8deCFzSiSz3ekUJbiXO3HoRBR2WcWcI3h0E9TKWiSEo FUGb+i7mjJdZ41GAGcdIEOQWknNoc1pbUcDJxp6a+8D3X/wfS9fUqND42BMbFFgNs2HA VWNzBw7OuOtbgchnSdRyQacFqG7b6KHA3tT1nqQsyS5xquuNdYSYO2gNbDaWj/PWWsk4 LU6QgoVe5XNArYWpQdx4eGH2yoyN5F2c2wt8gtohZohbK57Zt+CT/L2/EDeUvfU/43l2 BfiPGpDcu98+kqj4fbT/WDZ4IWKnHOwaao88T/l1d/d7toAycYEb6vgj7YrZVE/dsZL7 TQ5w== X-Gm-Message-State: AJIora9321jZYx6FDXtrU/p9D25843fPUzuWF8A1Z5Q4iYVb6RH1rOVj BwbrAkMmcpJBMPGTJi0rl5D5cA== X-Received: by 2002:a5d:4592:0:b0:21b:8e50:7fb9 with SMTP id p18-20020a5d4592000000b0021b8e507fb9mr13593921wrq.428.1656358882170; Mon, 27 Jun 2022 12:41:22 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id e9-20020a5d4e89000000b0021a3a87fda9sm11428047wru.47.2022.06.27.12.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:41:21 -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 , Heng Sia , 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 v2 04/16] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width Date: Mon, 27 Jun 2022 20:39:52 +0100 Message-Id: <20220627194003.2395484-5-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627194003.2395484-1-mail@conchuod.ie> References: <20220627194003.2395484-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=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 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 --- Serge, I dropped your R-b when I swapped to the default property since it changed the enum. --- 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