Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1892465rwr; Sat, 6 May 2023 00:33:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7myJwSd4UHoxE5Q0SO0/K8B5MARE7SUNXiGkR+4UuDVztsosppJGPBLCQK7QhgjFDrG7LR X-Received: by 2002:a17:90a:31c1:b0:24e:1f06:4d32 with SMTP id j1-20020a17090a31c100b0024e1f064d32mr3931373pjf.2.1683358379868; Sat, 06 May 2023 00:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683358379; cv=none; d=google.com; s=arc-20160816; b=rC8CHRSqGYjQo6LUrkF77eGuAbvWolACbeZBT+ANHmfEXHQOViKe9CGzbSLOSWlarZ 81atS1sV/Edxjf5sAq05lEwrRS2/xuyQ34Ah3cKKDDJHYngZuv3XNnNMlrsPJhAbab8j ZpyDx1VVOkoLdLO58fAIm1gh7CkBKh/9jSjwukwg90GTjC8tIAjRLDi4RyVYLQzUThm3 WgSesSi9JMRVr9AXZZd9xaQvpqZLDU9klfoddYpEdrDqHTGE/LgvPQOG8JjxpPw65ECp TdBQA6ecsQgy7DXtp5WVyzIC+q8yUguGJn35SjhEwBSOCX2QXU3qvXCFZTYYRtr9ILWt lCsw== 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=phdCEqZu3n0Q0Wg7bdC8dDiY0m/BBOG9trxmvJBnuV0=; b=q4VbQRd8g7rfvtB88C+yKzzO/DCMv2IFBLJ2Mts/bCpu5a4+R5vnCdsqteuQ3e3/Du e8jr+yyuVu8cH10JWS3nlAx43UAeG9SC42bFyNU0u8+B4n1gdTElqnUUqgUepcOtuRa9 aiqsDt4BCOHkndN2C9IAMPlr+H5zQNan0Ql8NomnDyuKeiY36rZX6tQW4VoRGcuFP2du SxGe62eXgus/iHbmZVMNtDozX2D7a/HagUT0Bd8LVESCzcb9Aq825Ob2bJe4/aur2HMV ile82G1guBqh508eC9YubA1icDTU7yY2yU5+7JxhnC1UtgH1reRKj6IWDsnNdwpl5RT1 d6aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EmYJDALX; 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 v16-20020a637a10000000b0052868eb9742si3842784pgc.77.2023.05.06.00.32.45; Sat, 06 May 2023 00:32:59 -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=EmYJDALX; 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 S230271AbjEFHb7 (ORCPT + 99 others); Sat, 6 May 2023 03:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjEFHby (ORCPT ); Sat, 6 May 2023 03:31:54 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E8B472BA; Sat, 6 May 2023 00:31:53 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f315735514so120034305e9.1; Sat, 06 May 2023 00:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683358312; x=1685950312; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=phdCEqZu3n0Q0Wg7bdC8dDiY0m/BBOG9trxmvJBnuV0=; b=EmYJDALXFxdDPFsrmRDu+d/XkHAg5PrzsgGsu7gdmUPud/ECs6SeQyohi3vUiNJhf1 3nRrANbV+2MRtwrT99zmzM17zc7S0pDrMd/MF/XCBu0McLhkDk4GVEdbK5U9Y3UCBqRx 0DhzxinyLRO5fNf9MxvVHEdTNY3n4yJ0c3nG5+Y3Y2vPZ+ILKiC+1lUIoUQ8ku1v0wz8 E7U0dVgDtJezUZwtAN6DMU8bONc/GbGyINwsvjCfRGVwHJwN4m3oUWRKqZMxR61D7hXN z8uTpjqwgdZ6iTk4hJsD+/UqWUjKHQARk6zAsmcHGN6RGY+rUke8efCi0pSFddgAbdJN zkkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683358312; x=1685950312; 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=phdCEqZu3n0Q0Wg7bdC8dDiY0m/BBOG9trxmvJBnuV0=; b=PUI3DyHtleTD3X27TUq3kJKL/SIs/CpqiiQUOg1mRWmdWUK5XciklwH6pFUT9PD5Jq dLGY8smDRy/7uk/W1yeMj9KkLWI+vOaLtrMaLSe2Um2TiwHhUMjNL+ZOkdXZWajyPfAj UxMsc9kJqmLTsh2bPEl7Dd3Qph4qsd3qUUr9V01ZONkOTAXRKRs9AiaNDIDQJncTNQZ2 Lu+J0c1Hu8IIsaUYkXA6iJ+Zey2Kz7DajWUx7AfCn3L3i7jCctYVgnDjW8A+IfGOgjcw JJrEmLgeG3uRY4HsJSA/nSZghBLc7H5K9D8Aq55vG++KjeW7InaDvawXWv47FRn/7sS2 SfbQ== X-Gm-Message-State: AC+VfDxT6kDjk4zT2lc4hH4hveT+u9mIpy1KL0jziOuhJtVvYZDE/U/S ovI6jf8v55IeLzmMt0p+Fl4= X-Received: by 2002:a05:600c:35ce:b0:3f1:96a8:3560 with SMTP id r14-20020a05600c35ce00b003f196a83560mr3424900wmq.10.1683358311473; Sat, 06 May 2023 00:31:51 -0700 (PDT) Received: from localhost.localdomain ([176.221.215.212]) by smtp.gmail.com with ESMTPSA id q14-20020a7bce8e000000b003f182a10106sm10071944wmj.8.2023.05.06.00.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 May 2023 00:31:51 -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 v2 0/6] Allwinner R329/D1/R528/T113s SPI support Date: Sat, 6 May 2023 10:30:08 +0300 Message-Id: <20230506073018.1411583-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 is attempt to revive previous work to add support for SPI controller which is used in newest Allwinner's SOCs R329/D1/R528/T113s https://lore.kernel.org/lkml/BYAPR20MB2472E8B10BFEF75E7950BBC0BCF79@BYAPR20MB2472.namprd20.prod.outlook.com/ Previous discussion about D1/T113s support https://lore.kernel.org/linux-arm-kernel/20230505224611.00c281f6@slackpad.lan/T/ v2: - added DT bindings and node for D1/T113s Icenowy Zheng (4): dt-bindings: spi: sun6i: add DT bindings for Allwinner R329 SPI spi: sun6i: change OF match data to a struct spi: sun6i: add quirk for in-controller clock divider spi: sun6i: add support for R329 SPI controllers Maksim Kiselev (2): dt-bindings: spi: sun6i: add DT bindings for Allwinner D1/R528/T113s SPI riscv: dts: allwinner: d1: Add SPI0 controller node .../bindings/spi/allwinner,sun6i-a31-spi.yaml | 6 + .../boot/dts/allwinner/sunxi-d1s-t113.dtsi | 21 ++++ drivers/spi/spi-sun6i.c | 112 +++++++++++------- 3 files changed, 99 insertions(+), 40 deletions(-) -- 2.39.2