Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13781760rwd; Sat, 24 Jun 2023 06:27:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kdRdWYDIgQ/9R8UjitNcfPDfuNMBjQMcs5Ruu5axIUuySsQUX+ekS8DNMU7/wDT17Xw09 X-Received: by 2002:a05:6a20:7fa9:b0:126:1f70:30e6 with SMTP id d41-20020a056a207fa900b001261f7030e6mr1742874pzj.20.1687613227630; Sat, 24 Jun 2023 06:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687613227; cv=none; d=google.com; s=arc-20160816; b=QFB7bgc7H4ZnvfGDTjvp+Ed/zSaM2MA+sXVRlxYzjG1M/JKiHcoFcXhmA++9c+CvVi RDZ72UgY0f4niyj9t97yfI2Ki5M10IBiWYaL+rVaoKR9X4nbGZhE74RIvlxCE29qZagc 3UQfDGI/oiiVxsagdHfOlZSc9x/YSNmaW1fc91UCv044b4bAfq8hfM879kJSUPyBF7b6 B04VuVpx3FcUDSv4k6VsucdKzaNtpgGeNMw7FyODLgTXp4wTSQb5ZqG09N074wrpB1Pz Pi+xE/2ApTQdmxFr4t/zZFBJ8OMi/mLbhYB4g5bUrjLJVzOvLJy4q1luXXy1xYxSl7yX LhIA== 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=kAPLdJ1hRBKYoDfC7BxuOkW8oX621hvqZ4G8PC6WVsc=; fh=fp76aqemLGF+iYAvewDQOqcqTXOKVHDUBfz8jk6CJLc=; b=c1QsczU7jVCBF+S0nmX3Ro7WydzeKS/czCWbOhXUj8ob3QfY/hXt/hiRV1YrvYrIi6 QwB2SkdJCA+rh2f09rjgO8dE84+MWXHFknsf6r0EIeFpFd/gVmjWvrLwseTtg8ws3AKQ S8RCkQkj6czNdIRxK8tU5Ukpq+DhUjUYJ23uCGFFTS8zut8tjEuTq9OH9S4y/yNMdxN3 8vAU1RC3qtsRRXVrP44kvImpIzkpUSeq08AznPlifARDu+JpvqMmA5uwRS1StT6h4+++ 48HquVhqyNEzUSEw2wls7kyJDDk2MVHaUnZ8eH1ofuYHhVlkTUip3QlwD3MKa8Cm/DzU 4UgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PH0n1FQU; 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 h18-20020a63f912000000b005575b3902c1si1420429pgi.346.2023.06.24.06.26.54; Sat, 24 Jun 2023 06:27:07 -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=PH0n1FQU; 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 S230272AbjFXNQ6 (ORCPT + 99 others); Sat, 24 Jun 2023 09:16:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjFXNQ5 (ORCPT ); Sat, 24 Jun 2023 09:16:57 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 480581FDF; Sat, 24 Jun 2023 06:16:54 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-31297125334so1442226f8f.0; Sat, 24 Jun 2023 06:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687612612; x=1690204612; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kAPLdJ1hRBKYoDfC7BxuOkW8oX621hvqZ4G8PC6WVsc=; b=PH0n1FQU36Z0dHZzPpw68V3rlOsp7moXOEmfaBt3Wbhq8TqBVHJWT2PqEcFduHPw2b e8jze0QXE/vtzqa6M9HCgvp9TK5psbOBZ0x72hBRIwQZAbJ7eRs1Bw2udOznVh3/AdCd 197AotubSzYP9d7b9++XatULfFDzyvw5rs6UO4nWiXCISgarNliSnlLoJwfNgB5lPyrY bz8R2pwk/HJLVZq1I6J01bZvQ28CP8hcsgf1o4+RiVCY957zfvLCaxZtjNg6uoPEBwLK 7MwyExU4U1A1JjBWylSWEG8eZjK/zECNkmFH8n3aAyHy4O1QHGEPgZVcKI9TWwdLGEA2 Lsdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687612612; x=1690204612; 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=kAPLdJ1hRBKYoDfC7BxuOkW8oX621hvqZ4G8PC6WVsc=; b=lNDP+sN8+BBfN9ltbpJVXEWTQFwge0WWk1yHLndyMOBiO+ZGmpadclMUH7pjrXR6b6 hcV9fUHoh9Y/nxDNAwQwfxTJczZ2IKW7P/csCf8cwlhuXPlcjnRHffsGutB9ejeT/67O eGKs/a7StEIZN3YQvcg4HrVYkLu72QUEXQUS2lgpNptk0UcUgH9kEH+L6F5RfPw3hOg5 SLi8ebWTMieVHIktbFr68Z9mqCnN1DOoUH1tyO8bNjuAe11RFs9Bf3ktAb1pBc3sQTQX 8HRa+OtE3JvhpDqALnaS6emO6hchUL3xG24fAVFW28vraxxiQ3uzDpIBPM+v4iGO8Zfb E1Ig== X-Gm-Message-State: AC+VfDyyCB+VZyi9o3eqz1kj0GCNz2hP1hqVYp3fkEKpsnDJbJnIxN/5 dbJpIuITMuLG/yUlISOG/HO62ePEOFYnRQ== X-Received: by 2002:a05:6000:104d:b0:313:e740:4956 with SMTP id c13-20020a056000104d00b00313e7404956mr582260wrx.25.1687612612033; Sat, 24 Jun 2023 06:16:52 -0700 (PDT) Received: from user-PC.. ([92.51.95.194]) by smtp.gmail.com with ESMTPSA id l1-20020a1ced01000000b003f9b0830107sm5107428wmh.41.2023.06.24.06.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Jun 2023 06:16:51 -0700 (PDT) From: Maksim Kiselev To: linux-spi@vger.kernel.org Cc: Maksim Kiselev , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Mark Brown , Cristian Ciocaltea , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/3] Allwinner R329/D1/R528/T113s Dual/Quad SPI modes support Date: Sat, 24 Jun 2023 16:16:21 +0300 Message-Id: <20230624131632.2972546-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 This series extends the previous https://lore.kernel.org/all/20230510081121.3463710-1-bigunclemax@gmail.com And adds support for Dual and Quad SPI modes for the listed SoCs. Both modes have been tested on the T113s and should work on other Allwinner's SoCs that have a similar SPI conttoller. It may also work for previous SoCs that support Dual/Quad modes. One of them are H6 and H616. Maksim Kiselev (3): spi: sun6i: add quirk for dual and quad SPI modes support spi: sun6i: add dual and quad SPI modes support for R329/D1/R528/T113s riscv: dts: allwinner: d1: Add QSPI pins node for pinmux PC port .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 7 +++++ drivers/spi/spi-sun6i.c | 30 ++++++++++++++++--- 2 files changed, 33 insertions(+), 4 deletions(-) -- 2.39.2