Received: by 2002:ac0:cd04:0:0:0:0:0 with SMTP id w4csp173403imn; Fri, 1 Jul 2022 12:25:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vCTbwwsJh9eFiOeCZpR89RuFuc1flOy6WSLv9TuFbkWmJNuY4FyEHBIdgFehsmrplvjXra X-Received: by 2002:a17:906:39d1:b0:6fa:8e62:c8a2 with SMTP id i17-20020a17090639d100b006fa8e62c8a2mr16077316eje.487.1656703540122; Fri, 01 Jul 2022 12:25:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656703540; cv=none; d=google.com; s=arc-20160816; b=CaDqxOaWBoB/p1wKyuBtxyK0EH0W7SC+NhzPeBlygbky/Kb2DsxBpP2+DfdvbbLpdg XAX+AvIszvn26cK8cXx5tSzhG290TQw7JKOw0VMP/xOwBMiO1aKe0EssJ5UYGKoTE/XZ 6VQAjAW1Q/aJiybWHadXIoKApwOvDYT1Kl+GtKcKBxSUGYtchuHmqNCju0VVdw5L0xck aJMU6VjrXFxdgwcNc5A9RN1cTj8MP2XURffGXL68dYUqMR27HPagwisqpbLUn5nOWqXh 68L3KkF2bGnHsSkChAbA1oIytB7b59d0mDDzKlJhQF/e3B9PlqhWTFThP4PblUDUmit5 Y3Gw== 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=WWrSX6S8qI2AMEG+mnuegXk2+hb793N8N/8p1RGkRvc=; b=AdwpW1QvK+ZiqTxsrr8fwW/+veW5HgIYn06FL4BdId5yWzP/UGZthYiFiGCnw46UpA SYH1J783DsB1v087JTUCd8np6WvKzHismLTTdHGfUb+A+CCH3xIjMqhguJxA0U/lFvRy T/VebDG4gUxDJsHNczEXQV9/2H/AjFNRLCGzZcz3h13EISabc/jLGVmYKZC5UuBpLihb MvfTizMYjswgNyZR9pcycYXY+d0oblAsmJJ+e3ZmaQ7ydWX519xMkrG2ivGd08yk8txI YYDNq/PH6sGo1ZZo+a+dDlYvt+8m3MoGXSVJ+f7tKnDfxvQMlLC7ammN96UZ3DK259NN vkzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L80dVd7D; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i24-20020a05640200d800b0042df92502a1si13219387edu.329.2022.07.01.12.25.14; Fri, 01 Jul 2022 12:25:40 -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=@kernel.org header.s=k20201202 header.b=L80dVd7D; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbiGATXm (ORCPT + 99 others); Fri, 1 Jul 2022 15:23:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbiGATXk (ORCPT ); Fri, 1 Jul 2022 15:23:40 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F53D13F61; Fri, 1 Jul 2022 12:23:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 53647CE34E4; Fri, 1 Jul 2022 19:23:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E296C3411E; Fri, 1 Jul 2022 19:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656703415; bh=1bpO1iUTJJ3kstbZPucPenalfy/kzfO3W/0wHPIy6SE=; h=From:To:Cc:Subject:Date:From; b=L80dVd7DLxVj0PBdm4QrguFAY5Dka9xMqyiKuVhhxISMH28ztUmvV676wTasz/GGE 93fD1Ywn8nHe7VIZ0brY7idrgj8PGh43uwUHH3cPHT9qejrldyiONBwZziOt/wXrg2 9gq7suTL5oS7ZZROPB+H3xxzde/iiqIM83VP3pubs0Zpg4y/Hln1mdKbp6sskj2H23 XWV6TBiC4/jAnRq49vGTsdgIh9Sz7zVocUiFd9liYu09bAy8wDLWcMqKk260ZSYM/5 bYOYh3wR+zxti3VdhBFfQok7lwZo28PHObt50NLSNXID1uhtb2SVl/CsHwqYSDUmu+ 3MDm/1i2KDwIQ== 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: 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-riscv@lists.infradead.org Subject: [PATCH v4 00/14] Canaan devicetree fixes Date: Fri, 1 Jul 2022 20:22:46 +0100 Message-Id: <20220701192300.2293643-1-conor@kernel.org> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hey all, This series should rid us of dtbs_check errors for the RISC-V Canaan k210 based boards. To make keeping it that way a little easier, I changed the Canaan devicetree Makefile so that it would build all of the devicetrees in the directory if SOC_CANAAN. I *DO NOT* have any Canaan hardware so I have not tested any of this in action. Since I sent v1, I tried to buy some since it's cheap - but could out of the limited stockists none seemed to want to deliver to Ireland :( I based the series on next-20220617. Thanks, Conor. Changes since v3: - dts: drop the bogus "regs" property pointed out by Niklas - dma/timer: add Serge's reviews (and expand on the dma interrupt description) - dts: add Niklas' T-b where I felt it was suitable. lmk if you think it applies more broadly - spi: drop the applied spi dt-binding change. Thanks Mark. Changes since v2: - i2s: added clocks maxItems - dma: unconditionally extended the interrupts & dropped canaan compatible - timer: as per Sergey, split the timer dts nodes in 2 & drop the binding patch - ili9341: add a canaan specific compatible to the binding and dts Changes since v1: - I added a new dt node & compatible for the SRAM memory controller due Damien's wish to preserve the inter-op with U-Boot. - The dw-apb-ssi binding now uses the default rx/tx widths - A new patch fixes bus {ranges,reg} warnings - Rearranged the patches in a slightly more logical order Conor Dooley (14): dt-bindings: display: convert ilitek,ili9341.txt to dt-schema dt-bindings: display: ili9341: document canaan kd233's lcd ASoC: dt-bindings: convert designware-i2s to dt-schema dt-bindings: dma: dw-axi-dmac: extend the number of interrupts dt-bindings: memory-controllers: add canaan k210 sram controller riscv: dts: canaan: fix the k210's memory node riscv: dts: canaan: fix the k210's timer nodes riscv: dts: canaan: fix mmc node names riscv: dts: canaan: fix kd233 display spi frequency riscv: dts: canaan: use custom compatible for k210 i2s riscv: dts: canaan: remove spi-max-frequency from controllers riscv: dts: canaan: fix bus {ranges,reg} warnings riscv: dts: canaan: add specific compatible for kd233's LCD riscv: dts: canaan: build all devicetress if SOC_CANAAN .../bindings/display/ilitek,ili9341.txt | 27 ------ .../display/panel/ilitek,ili9341.yaml | 49 +++++++--- .../bindings/dma/snps,dw-axi-dmac.yaml | 7 +- .../memory-controllers/canaan,k210-sram.yaml | 52 ++++++++++ .../bindings/sound/designware-i2s.txt | 35 ------- .../bindings/sound/snps,designware-i2s.yaml | 94 +++++++++++++++++++ arch/riscv/boot/dts/canaan/Makefile | 10 +- arch/riscv/boot/dts/canaan/canaan_kd233.dts | 6 +- arch/riscv/boot/dts/canaan/k210.dtsi | 73 +++++++++----- .../riscv/boot/dts/canaan/sipeed_maix_bit.dts | 2 +- .../boot/dts/canaan/sipeed_maix_dock.dts | 2 +- arch/riscv/boot/dts/canaan/sipeed_maix_go.dts | 2 +- .../boot/dts/canaan/sipeed_maixduino.dts | 2 +- 13 files changed, 253 insertions(+), 108 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9341.txt create mode 100644 Documentation/devicetree/bindings/memory-controllers/canaan,k210-sram.yaml delete mode 100644 Documentation/devicetree/bindings/sound/designware-i2s.txt create mode 100644 Documentation/devicetree/bindings/sound/snps,designware-i2s.yaml base-commit: 6cc11d2a1759275b856e464265823d94aabd5eaf -- 2.37.0