Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6951845rwr; Wed, 10 May 2023 01:30:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dDW5aCXAMxvTOL21dbXImJNQ/j7njm0c+lg77PHOyV8Avy7ndPFQMRfl0pGvZj2zYfB6q X-Received: by 2002:a17:90a:fd93:b0:252:7118:4713 with SMTP id cx19-20020a17090afd9300b0025271184713mr294039pjb.17.1683707418268; Wed, 10 May 2023 01:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683707418; cv=none; d=google.com; s=arc-20160816; b=RA1qSqDdK0DHYAbJp5AmPw4HpHv+6BwDDs0l/29cgqQZejfR5uEwyOqq2KL4MyscyU s1k6Po4nGzm4QVE4vgrW94jQY6vQyKfPpUnF5hQWs/FrMvjb67nCae3W22zf7QCyvh+6 Zkk+o7yyIKSeXewy2YYCPpf1h7tQCubhZSZ22lgl3WTPlEtL/bkVZYbBonQuK++OlqPr 8C2dPSRRg+LX3LqMtiXEi2JcDzecmNMDOOfyh3gIUXQBJp5plDzxt/mEW1Bu9FweKdN/ ggUF+f+wviwwNQockf68f30BxmMOifkhErYvtCpZZAv4BO+k7GTW/Ej1IXg07zirCay+ Io9A== 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=kaQpRP2PJulxYaO5bFooRdj1QYIO1irnm40lBiyMQfA=; b=CNhP1KQHJDTNz9hUrrtnHFNOjirqDGTV+TxQxbCSYQZhowuZQYxAFW7TxLn1z4NnnI MIFrid6PqoCuNLNjDHkRD6OmvtS99mtr1QdtF/FOkrrVFvfu71R+gmy+PBgJYAlcyTYH 0QG6KTvGQlL6Otb/X2tLN2VK4xkLEKuZDI+Aq1R4Bp8CK+4EWzA/XJzgixZed4uoaS+g LT1lyaab6L+571KayVShWKCF+vpxxD+CY7KyfsrTZ3aKtwPswLjdNwZATtnCasrcXVBP xb2LBVo63xNZrCVq2ku3n8lNOY4yCxqqlNpmxAYnfY+j3MAEB8lNsEvNEw9rMtuSU2OB GCvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=sGsXHOCD; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a17090a62cc00b0023d23393318si29059099pjs.55.2023.05.10.01.30.04; Wed, 10 May 2023 01:30:18 -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=@gmail.com header.s=20221208 header.b=sGsXHOCD; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236410AbjEJILl (ORCPT + 99 others); Wed, 10 May 2023 04:11:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235524AbjEJILj (ORCPT ); Wed, 10 May 2023 04:11:39 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86E222122; Wed, 10 May 2023 01:11:34 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3f435658d23so9695595e9.3; Wed, 10 May 2023 01:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683706293; x=1686298293; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kaQpRP2PJulxYaO5bFooRdj1QYIO1irnm40lBiyMQfA=; b=sGsXHOCDB1/G09BwgMcl3P9fyGYxgKy3Lg32VYzLCmWTMGjuN0Og+jZ0pYkjWmJ+5g Zne7CNel0vAodrw5NQr0bOgH68uTNzlfPNUgOZih9LMJX34lTXhuUPDGfgqtgSPuZorD V5zDRnIsfctWawQ3dOXE/g5ejxcI6zl/SJ4lDMuFRKal66KSfKiuSpbsz5O/jm8G2AiT W0IKm5IiAosack2KCtEDLu4JqSlUXwA83mrxWFPMLAczYSXHSov4urgeJwcOT57yeSpM K1N5nEUZrTC25G/ngzvFsXq5BWuj820aa+EmvpGlp//SWdi2RunF+IErZPV9Y51Z5ml0 7Ceg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683706293; x=1686298293; 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=kaQpRP2PJulxYaO5bFooRdj1QYIO1irnm40lBiyMQfA=; b=SvDMl6mqqlE2for7dseuPfPFulDKEQZmI9SKFCLO6Xo5B+lA9dR+cO3vbvokDsaKyq /NoyLQp3zEwbEZWTAp20LnfUZggFJTK2rkVIm6soJWOrJi/eVIpfehNy7kBv0rqzv7/G G9X0QmW1YUwRfaA7UDZ8NKuzvBK4p79rYdVs7Lk8giF4sJJ+xgm/lQHqSgDhjsMCPU1B Vomw78qWndQzoZa4K+zErCIMi+n67zDJh4wNaHTxeF+UVJqERbALPh/2at9yk2TB/RtX CuPOjwA7wnXFuusjsmldG86O2VXHHwlHm5l59paepkFkZmf9E6v5v5/fzwPdJ8oEystg Ep3w== X-Gm-Message-State: AC+VfDygYhi+LSvLKMP1KqWpa4q4F7HbUDGKtTvj9rVwVGp+X3ioOP2y Ku5QONn+sHxnRi+HBCQjidQ= X-Received: by 2002:a7b:c356:0:b0:3f0:3c2:3fa4 with SMTP id l22-20020a7bc356000000b003f003c23fa4mr11776779wmj.12.1683706292779; Wed, 10 May 2023 01:11:32 -0700 (PDT) Received: from localhost.localdomain ([176.221.215.212]) by smtp.gmail.com with ESMTPSA id f16-20020a5d4dd0000000b003062ad45243sm16496375wru.14.2023.05.10.01.11.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 01:11:32 -0700 (PDT) From: Maksim Kiselev To: Andre Przywara Cc: Icenowy Zheng , Maksim Kiselev , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Cristian Ciocaltea , Maxime Ripard , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v5 0/5] Allwinner R329/D1/R528/T113s SPI support Date: Wed, 10 May 2023 11:11:07 +0300 Message-Id: <20230510081121.3463710-1-bigunclemax@gmail.com> X-Mailer: git-send-email 2.39.2 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,FREEMAIL_FROM, 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 v5: - fixed DT bindings (Allowed three-string compatibility) v4: - fixed SPI sample mode configuration - sorted DT bindings list v3: - fixed effective_speed_hz setup and added SPI sample mode configuration - merged DT bindings for R329 and D1 SPI controllers - added SPI_DBI node to sunxi-d1s-t113.dtsi v2: - added DT bindings and node for D1/T113s Icenowy Zheng (1): spi: sun6i: change OF match data to a struct Icenowy Zheng (1): spi: sun6i: change OF match data to a struct Maksim Kiselev (4): dt-bindings: spi: sun6i: add DT bindings for Allwinner R329/D1/R528/T113s SPI spi: sun6i: add quirk for in-controller clock divider spi: sun6i: add support for R329/D1/R528/T113s SPI controllers riscv: dts: allwinner: d1: Add SPI controllers node .../bindings/spi/allwinner,sun6i-a31-spi.yaml | 10 ++ .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 37 +++++ drivers/spi/spi-sun6i.c | 131 ++++++++++++------ 3 files changed, 138 insertions(+), 40 deletions(-) -- 2.39.2