Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1752812imw; Tue, 5 Jul 2022 15:00:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s7CZLWWGJqjenzBZ/VIGDHU8Tuf1kARMBFTdJTBmeA4YpSXjQHtDJHIIbGZmTOYx/KhuvI X-Received: by 2002:a17:906:cc0c:b0:72a:f4e0:8299 with SMTP id ml12-20020a170906cc0c00b0072af4e08299mr824855ejb.670.1657058451536; Tue, 05 Jul 2022 15:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657058451; cv=none; d=google.com; s=arc-20160816; b=Cmv2Oaqg/8AdIlZtIzjn82VsEozjpr2dIwl8N0g7jgLbcAM31oQcZGFLFOj1IuFn7g ydOqEdfRzRdkfaulsFRALqXz/s3Dn2pdscKhFRRI86AE9VW2TyTXHIg+WBbtdhN9lm+U tGjutnogEZvlrpcEWPSV5mATgiS1wjSqR6y30lxeXd/TSB25cs6UgyETo0W+gOZHHy/Y jBLhZgWtGjydb8BvsRNQj42sA72+ANq4oWCCrjoZ0ONJK3jG+nAkbjppZOoTlXsqAiqu bMA3runJBbBGP3NDNV7+Vl23SoxSzysy3nVp1L8CdR206DpLBaX0ucNBpaSyE2hAuA41 2uTQ== 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=btfD2ddLZTsrkxXM+5X0SlRWCSAFkc3crudlByDnEUI=; b=XBOd1kGIujlWF1VIwcBlnxIonVHa90MMN+W8MBpIgfKc9FV01fNtUrtdbpZa9j6p7S 5krVvZwWC/osPpIHB9PtOR81YV/f9HzA5iOMf3ZRfxi74W9Z0YBI8diXJ8hyPn6dpdkE VLKVtJHVtevb/I+oLHTrJPGpWEvW/NsKGZvC+mpekCMa2NeKl4ctZzXE7qAwTylJswPL mOYf4XgV6OgG4mBrzJii6fYKINo8hkQdc/wbV9FxdPPXvkgdrURQY9rhOQLCxw0AbZKc O9ONY1D767KzSlDe3zmqzGsoLZu8PoT5IxC4yrtjuiTErQ+rKMrppDwVDLES4R1CMhKX CfgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=R2ZH0gVp; 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 o3-20020a170906974300b00724d542e91bsi12624673ejy.952.2022.07.05.15.00.21; Tue, 05 Jul 2022 15:00:51 -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=R2ZH0gVp; 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 S232689AbiGEVxC (ORCPT + 99 others); Tue, 5 Jul 2022 17:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232678AbiGEVws (ORCPT ); Tue, 5 Jul 2022 17:52:48 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB66193DA for ; Tue, 5 Jul 2022 14:52:38 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 205-20020a1c02d6000000b003a03567d5e9so10086494wmc.1 for ; Tue, 05 Jul 2022 14:52:38 -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=btfD2ddLZTsrkxXM+5X0SlRWCSAFkc3crudlByDnEUI=; b=R2ZH0gVpmULNTv6IJcLMhpWIi94ZX23K1txij23UvjFeSzC3TosPXLd2Xl8x/lj8HQ 9Y+0cd3VifBNPS8rtQtjRQbPZHdvl/w4dhwDPWCg0IXB58BUR6JYHlX9ZP1O+AhRmMgu B8d/QnrymSEjCT1MzHxmsr77lUPEBwyrqAC5UCUuROQwCAY/g7zB8dSBkrmbVIZd8gTU LjBB8oMchg8USlhrITWohYgE19TDziCHl77VuySNrjC2NTXP/bzmxACDHZEouWmEiU0B 1v7K3pQ5V1polgAp3q7tYlG4glWe6iedMPE5oJAkp24Ur4XhLIAuE8ditoMQgWPaJojK TtAw== 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=btfD2ddLZTsrkxXM+5X0SlRWCSAFkc3crudlByDnEUI=; b=WGCTnzQ5TabsxElP1IAd7uFOv9rXkrPH6V6n0uviyeSjMBXHgOmIyPmhpGpoo7zhxk pkAy7zt6olzEUnuplBB7+qzhkADgegQRH1JsQ4lMqqSYxtfwKFKQaaNz2f9qNkKR2ghX W+Aufrp37F0xfU/a11RfUSW3kiyeDJM98Ura/ysoAa3tV6EROSyao4EglA4hAm+e4OZo 9bI56hR+EfZDSkysgyi8JUdcPGwXozHfKgFFKhxNjbVbZdzQVZkKMvfHV9kb7V+6mhMS GIgITzNE8yv5+inWeuqW/Z/JZ6OT8BK0o/YOvzsixv/zA2Wm1FPyNUDkniH70qx5f0Xn f9ew== X-Gm-Message-State: AJIora/a3wNbjSa0mxMAz2yml1+xRUHCkclyJKwyeOI63fSJM+Zn1V8F vEEytY10IJ1LZNWTeLARtJxXRg== X-Received: by 2002:a7b:cd0d:0:b0:3a1:8f1e:cb2f with SMTP id f13-20020a7bcd0d000000b003a18f1ecb2fmr24066595wmj.10.1657057956434; Tue, 05 Jul 2022 14:52:36 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id g34-20020a05600c4ca200b0039c7dbafa7asm18353920wmp.19.2022.07.05.14.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 14:52:36 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , 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 , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v5 09/13] riscv: dts: canaan: use custom compatible for k210 i2s Date: Tue, 5 Jul 2022 22:52:10 +0100 Message-Id: <20220705215213.1802496-10-mail@conchuod.ie> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220705215213.1802496-1-mail@conchuod.ie> References: <20220705215213.1802496-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.37.0