Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3287285iog; Mon, 27 Jun 2022 12:55:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uwSNLkvVKp0Md6Mygvjc0zK5BigICcd45n1puJDzW2uuzEwkjNJdGUq+sjZN25GAy/DiNX X-Received: by 2002:aa7:db46:0:b0:435:676e:c138 with SMTP id n6-20020aa7db46000000b00435676ec138mr19052593edt.388.1656359748558; Mon, 27 Jun 2022 12:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656359748; cv=none; d=google.com; s=arc-20160816; b=lE+E3bpkqorPmApSW2TI1xYQGnc4tMEpd8kCz//11WdLnAmSHOC4EyygF4OWgkLwPT g7c1Xh+Bo5HHHA11zL1EHJRMSt/uN8Ug4M40IDAvAmi9z/LYuIAHbgD9k2rcvhYxDEQM zd1KTPv1e1LoePx9brCUGfqbdJxmvGjpxkErZ52US68e8SwV5yR6z+St+rIRnd1tcwIz EnFdCG6IbC0lTFDS/5foMnLDOR83/O1kJ1mCrkooh5OSi/IUEZdWjKhCB2OYzddS+8bx /5FpiCZDyy8IQzRMlsDC3RCCHithDn3vIsxUYzEdF/nzNyCfiKNrhfhdpC9Vd/W3OIbk 2tLQ== 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=ef3I7471zi7adAYmEZiBXZpXh9J/sRivupa07zlI37s=; b=jfKPDLj4TFEIU/dgVJ2dVHEz8+S/wBkVKrNHS5vUUGkes6Y/a/qIX5TKbG18b4mzp6 fRbn4cm8XaMdQ50uyF+x3np3/ws6kj62SyXR7brO8Warc+1bW3nm0SdkQ8v6MahfuCY0 +vA1f1bjzkmdXVC/vEMCbVS6VQQGreHrywWRswgx68+VvH3PauLRUJ10AuBxWaBz+Zc/ yvt9tipQ223O4P/HQfdwcIxs/8GkTeZcDsJLG8eavQ6EjCtP5Iznm0AwXvfZYkbVAXtd a9anJvZtcP0gMhvDazApvMfOJRfEwvn4ZzG5FMgC/IuHcpDL7CLVOGOBy1xXVMCArgKD /jjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=HJumt5kW; 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 x95-20020a50bae8000000b0043565bae501si13742407ede.210.2022.06.27.12.55.20; Mon, 27 Jun 2022 12:55:48 -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=HJumt5kW; 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 S240622AbiF0TmK (ORCPT + 99 others); Mon, 27 Jun 2022 15:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240566AbiF0Tlq (ORCPT ); Mon, 27 Jun 2022 15:41:46 -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 D954518345 for ; Mon, 27 Jun 2022 12:41:39 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id v14so14489447wra.5 for ; Mon, 27 Jun 2022 12:41:39 -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=ef3I7471zi7adAYmEZiBXZpXh9J/sRivupa07zlI37s=; b=HJumt5kWS06mWGiL+4OpEcLUtAC7SNNT45MpSDG001Qi8EIc3dVNUQkn+knFTjW69J R8mWOCqcz4e7Q/CPs83n2+HBdGAR/MzDo8iFe+iUMlIwG0BO4ENAltYbtbL4+2H5oDG3 3WbwwkXTpMHcDzA4RGeRsnyQOybwev/kCCZNAV5bbmfuagFZNHAQw8fw3UnbgMKZLGK5 KkQqCMzp90DxTnxWzxGdvNfo4Chy7TQO1QO4MitEFQ3DF547kU9BQECLyLo3Uaceo6W+ sWjJxo+kCADRBxT1Zui4rHIfIWdahlWRan847eRFOyScrZ5BHz3b9KUA57p656/reecj FWPA== 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=ef3I7471zi7adAYmEZiBXZpXh9J/sRivupa07zlI37s=; b=KVIqo6XPhGWs4UqZaaUxcMTlto7xujNit2d14fjm5M7gZ3yyG8zNEgeXNe7Xt04ZpJ ClmcLBqca7PC/1/H+QWq566y4B6j2SsZgD/Uyxdje/jltO/fzthwkZ7/JJSS8NLVMzas 68xOOFfF6fPbG8/GZshiNF9bwtN1Tqoto6rQbwpxVquacnDElS3Cti8pj2SxGIf5Hd8w R4r51VJ+jhN8u/3VSFI93nXlUxrxXTO3ZGZgqHHzMvYIzqhaPcn2DMvTD+Fe6h3oygrc E1/o/k+jNXBnQCEIXhCZtWGpfouSkEdIuvxUOpYzLK3F+53xrwiBw3+mWuV1VNLbw4QJ w/sg== X-Gm-Message-State: AJIora/AImvx7J10MWP6wl/jJ83Ed4ZG59bB+0novuUjcOtX68b78J86 AcbVA2H9DSK8xbanZpG0xVdhdQ== X-Received: by 2002:a5d:64c1:0:b0:21b:981a:594e with SMTP id f1-20020a5d64c1000000b0021b981a594emr13681508wri.171.1656358899484; Mon, 27 Jun 2022 12:41:39 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id e9-20020a5d4e89000000b0021a3a87fda9sm11428047wru.47.2022.06.27.12.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:41:38 -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 v2 13/16] riscv: dts: canaan: use custom compatible for k210 i2s Date: Mon, 27 Jun 2022 20:40:01 +0100 Message-Id: <20220627194003.2395484-14-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627194003.2395484-1-mail@conchuod.ie> References: <20220627194003.2395484-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 be42c56e770c..10c2a1417deb 100644 --- a/arch/riscv/boot/dts/canaan/k210.dtsi +++ b/arch/riscv/boot/dts/canaan/k210.dtsi @@ -251,7 +251,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>; @@ -260,7 +260,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>; @@ -269,7 +269,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