Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1303030iog; Sat, 18 Jun 2022 06:08:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vJwgHnQeu7+WdL5NkVkm5cunSG3EVFRKeEOtVmYLfiSP+dampexgBecxtFJsSWrye3uUkH X-Received: by 2002:a17:902:7d94:b0:168:f2b5:a989 with SMTP id a20-20020a1709027d9400b00168f2b5a989mr14930260plm.50.1655557700681; Sat, 18 Jun 2022 06:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655557700; cv=none; d=google.com; s=arc-20160816; b=t1XxlQrIlAfbErm3s4ND8Yp0BmSjn70kr1shaboITL3zAAvSYPh6wqfONxoyRCOGsV gBtLJHoupF2LwoxSdP8uXtR6Z9R0YogQ0uy89mphPsZSOWw3nqQHolpwVgkHMB0qVvSg gwqO0YbifqIfUcun5r/VDLKZkek+NCiSdUrz5d/EFSGTNJlZFZ17ssqSNT3CKVrgFaSH cdh305Yu3YLMN09s1vFgqj3S55W7YUkp+s3fcqOMP837nQArMa7PyYvOcMWMsNSskUDz uZFNxCx7eB8rMX6K69fbgaxwIULNo4TFyLwE2kWMXNk+MAtJbPjCC7golZf24N5uhMfG ebew== 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=xINpJVKkZcc5JKohFXfQpBMJJJBAJkhRdFvXLAdWINc=; b=s7JnsLOc87UVLNuPlxBYQkWE1oQagL86Oq2o9fUzj2nrRUE0W2Zfjn1MhXPQxjCDp4 A4cAGvRpg48O3pHfJ8LtGkMxNsApFvJZK4iTqE1zp5DYK+zlmbuMLpP/GAmD2yJYRDMs oqhicwEeNvHQR8C1PmPcScYGygHNpYGw2AxqfcIo6u6k10o2C86HZrJWPcrPmqigWDJX LHeiDzAosMvlxao+oVwWH8gjfKFO99qDFj9juQE57PIgNsV6QzvUl7Qgz6zztgbiJtiY LuJoForECmEx4GRd6IxKmU9PRq3BwVcjmGIfYOecHBqiy624skJVWyBqOpMweM2iopRJ eHPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=V5PCq8ER; 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 hk1-20020a17090b224100b001e30a13ec13si16211462pjb.36.2022.06.18.06.08.05; Sat, 18 Jun 2022 06:08:20 -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=V5PCq8ER; 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 S234440AbiFRMfS (ORCPT + 99 others); Sat, 18 Jun 2022 08:35:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235834AbiFRMc0 (ORCPT ); Sat, 18 Jun 2022 08:32:26 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1B541EAEE for ; Sat, 18 Jun 2022 05:32:21 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id o16so8802665wra.4 for ; Sat, 18 Jun 2022 05:32:21 -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=xINpJVKkZcc5JKohFXfQpBMJJJBAJkhRdFvXLAdWINc=; b=V5PCq8ERofmOM5w5PRA0gL0n8OYBdm40lWb/asUOIntNfey82bGRsIn/7z+pxrNbjf 4HTP30/j7DUAESFSB807hhF4Bn26V6IuYZIKFHoYEcp2foIsgjbMA8wAurn/dzRXLewU 52ItLX9xQP38z8uMvLEfCM20A/gU6lUTh3j5F2TLw9cN7r3egdv+mFSv6ttkSKGiktCM 4cZy3+rmKIWV13Hk4eddQtK9JA4//kbz9TiLmNmn6H/45fTkDeYaDf5zd/9LWbt7E4MA qvUYvHicfErpLqf59Y2120u88J/KmXmj/YaQstAYe0YdqaXfHU8uztd1zwCarccd64Pm J8+A== 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=xINpJVKkZcc5JKohFXfQpBMJJJBAJkhRdFvXLAdWINc=; b=3g27wCF0AA4jMr3OgoBlkiYaqeR8NI/awvw3Mm+ElTbg9uMUDJ8nDkpYo0T/MwG0Cq sQ5qTnQX5RJiJ4Hf5vEIX58rSs3oMSB3JdwEbYvaObY4Kj3TNHx3GBs5tkZu59MdGjYm 67wFi243GPmcWu9+q8OcsiwbgIW2IEw07nVggiuIIIPqBSl9V5TOb1zDDAukcVCQ3EJE IKOKt9xUl9NhMFsV1XKopdoGwLPzuSgeVtfYkmg0W+Cvv/Qsc//BdzdQ+GxHB0wqqLL2 e8UxOzLrclJjKGJRbWeKxX/MhCbus1Tn7ZxKPqqzfyZ0Vt8/mfQomzJejhrwRvf9dxi7 QLLw== X-Gm-Message-State: AJIora8nGe1v7PgeF49cqaEC0XuhF3y1z1VSMoBQ17CM4axuN9p4/MDV 42S0jMsEmNhaNWlxIzb/+iV3WA== X-Received: by 2002:a05:6000:1b03:b0:216:43b4:82f1 with SMTP id f3-20020a0560001b0300b0021643b482f1mr13888381wrz.232.1655555541458; Sat, 18 Jun 2022 05:32:21 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id az10-20020adfe18a000000b00210396b2eaesm9292305wrb.45.2022.06.18.05.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 05:32:20 -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 12/14] riscv: dts: canaan: use custom compatible for k210 i2s Date: Sat, 18 Jun 2022 13:30:34 +0100 Message-Id: <20220618123035.563070-13-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220618123035.563070-1-mail@conchuod.ie> References: <20220618123035.563070-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 The devicetrees using the Canaan k210 all have a sound-dai-cells value of 1, whereas the standard binding example for the DesignWare i2s and other use cases suggest 0. Use a k210 specific compatible which supports this difference. Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/canaan/k210.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/riscv/boot/dts/canaan/k210.dtsi b/arch/riscv/boot/dts/canaan/k210.dtsi index ef46ddf3c00c..5eb6b69c1170 100644 --- a/arch/riscv/boot/dts/canaan/k210.dtsi +++ b/arch/riscv/boot/dts/canaan/k210.dtsi @@ -243,7 +243,7 @@ spi2: spi@50240000 { }; i2s0: i2s@50250000 { - compatible = "snps,designware-i2s"; + compatible = "canaan,k210-i2s", "snps,designware-i2s"; reg = <0x50250000 0x200>; interrupts = <5>; clocks = <&sysclk K210_CLK_I2S0>; @@ -252,7 +252,7 @@ i2s0: i2s@50250000 { }; i2s1: i2s@50260000 { - compatible = "snps,designware-i2s"; + compatible = "canaan,k210-i2s", "snps,designware-i2s"; reg = <0x50260000 0x200>; interrupts = <6>; clocks = <&sysclk K210_CLK_I2S1>; @@ -261,7 +261,7 @@ i2s1: i2s@50260000 { }; i2s2: i2s@50270000 { - compatible = "snps,designware-i2s"; + compatible = "canaan,k210-i2s", "snps,designware-i2s"; reg = <0x50270000 0x200>; interrupts = <7>; clocks = <&sysclk K210_CLK_I2S2>; -- 2.36.1