Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp890004iog; Wed, 29 Jun 2022 12:17:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFzQjC4kr8+gbNgwocK0vm/XbwbvxqYXkg3wkZAAQngr2WIlu1730hq0gEPnDeqfEJy0rU X-Received: by 2002:a17:902:d583:b0:16a:29de:9dfb with SMTP id k3-20020a170902d58300b0016a29de9dfbmr10452425plh.44.1656530262100; Wed, 29 Jun 2022 12:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656530262; cv=none; d=google.com; s=arc-20160816; b=Bns0ezI67ZMRe2LyvW0GtVDR9r7ruBZPyDGPGsIpgX7cTesX9H952OXHz/kYf/Pua6 SVMDVfEHU12fswr9KfL1hJYVLaCq2bksfPubsQZBLqJ2te+HMRK4ELl7HYF+EDkkJVFT tSGEB1At7LUlvqfCYMDOcVck2qA5QezpLtju75PFzeMKVBwcB+4UhlZc+fddf2btefC5 Qu4p/8Ra5rv3YeA3fPW+izlswYskvo7+SlV0pBl1+PbiqRdckIsOGtW0LynJmH8Agv9S ZI6mjGqJLkjdZn+iVu8XRNOmd+TGT+KOr+KXNUFIEub2bAfxqvCFQ2rc0sTvMmWIqM22 hnNw== 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=gc2vKH3KC5MkBHyxjlffpbpmjSYGhMGK8SuLLVbLMmA=; b=a47UB1UYac6x7M+QgHNI1523/KoMwTwkEPInCnSJqyJLiz26IiD/1VadGQvjHLY9qh 36z97rUzb9BFjdw7vgYjhCL9OBUkd7he4e0dUedfMtOzRF76BnyKQoDrmuYc/vLA3Ysp N9YUjEfXSEEzFpKxWFzs7OcJJvWNMkTq8GVpegYXhCE5+VpcrrmO9zWAksDyfa1xx0Ob urelWdkib+yB9jhvZsHh5moPDBf9A64CCEhNjY0OTL4ZG1G5yYj/iEY/KKk6Aa3b/nuf 5l9hx3ejx+ABC1VC5aK9kF/YArUqbMC4tehOwxpDaT7CIRR9Ycky70vzqfcre6anwsyW Gx3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=b1HmM61m; 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 t36-20020a634624000000b0040d7ac04fafsi3093735pga.36.2022.06.29.12.17.30; Wed, 29 Jun 2022 12:17:42 -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=b1HmM61m; 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 S231535AbiF2SpT (ORCPT + 99 others); Wed, 29 Jun 2022 14:45:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbiF2Soz (ORCPT ); Wed, 29 Jun 2022 14:44:55 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A1825C51 for ; Wed, 29 Jun 2022 11:44:54 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id o19-20020a05600c4fd300b003a0489f414cso175709wmq.4 for ; Wed, 29 Jun 2022 11:44:54 -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=gc2vKH3KC5MkBHyxjlffpbpmjSYGhMGK8SuLLVbLMmA=; b=b1HmM61mdW8GYiqxKQWSEMxCNUDxJBTTrlRtl15fqNYIuCkZc0o2CJdTeGIajSwT7X u7/zOLw3G6g6qk7W2pP9C3CQg/YA4QDwKXxQMrOAFOIojMwCO5d2ivXFP3OKepL8vOrF i3WcjcHbDjI30K+2b7eP7wJDRUdhrnDeDzRa50oEfXZTzW0Ic8RRtaW04pEbNja6qUT/ bCjIKRloecgdHSLASblaD+5TKC4S8bh/hwR54jV1iqeGBFZH+pojBdoaqMRd3VHtqb8k aKuNrjFgo2M7HEKDHx0EAotjuGjsu78spyPlqsDURW+PCQz8XYT/XjNBhIQ6xvLK6pHA ju7w== 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=gc2vKH3KC5MkBHyxjlffpbpmjSYGhMGK8SuLLVbLMmA=; b=o62ePbZGmA+IIZTkJ9NxfSH+LcGZ+5A0/7lwgEnEwiKFqmYP4e/xyRmbLc2VKDgpv7 TqLQnjidBVFMMBGz9avA7fBmDEdYXTuvKvPf2keMoSI3E7CG/QVVSdMLPKaD4mOMMB+3 +cEKArj96DxXH4WzviykyWo0WoQ6Y3WQuSVTIqVHXmMQZkzCU4oXPL0rsHq1IbdT4oEQ k7t3qI9OAWAahUFTa94D2aC3T/QJrHh2dnj8sxJLZkEEW7HGqlehJmeOmQaUDUw743xo a2OVAZ1Rh5kVnPp+E1fOtPOr//kcXzAzwJ+3ePHuAfan44z2DeH7QovrWW9q3/rBdai6 bmjw== X-Gm-Message-State: AJIora+gPU2k8BOZUibYvoVbSUfQ6w45aMM//3oR0PA24uPYe/VjZQtn 4KwyerNAvXnwjppnOixvpBSc9A== X-Received: by 2002:a05:600c:34ce:b0:3a0:3240:92ca with SMTP id d14-20020a05600c34ce00b003a0324092camr7157169wmq.130.1656528294078; Wed, 29 Jun 2022 11:44:54 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id u23-20020a7bcb17000000b0039aef592ca0sm3834371wmj.35.2022.06.29.11.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:44:53 -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 , 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 v3 11/15] riscv: dts: canaan: use custom compatible for k210 i2s Date: Wed, 29 Jun 2022 19:43:40 +0100 Message-Id: <20220629184343.3438856-12-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629184343.3438856-1-mail@conchuod.ie> References: <20220629184343.3438856-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=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 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 72f70128d751..900dc629a945 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