Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3276179iog; Mon, 27 Jun 2022 12:44:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1spnd0Bt7Pm0+5b6wFW9Eh4C15OpQhLRc2SUuD9hBozG0WN8HwIm0OLDZFCnK1SIEIacO7c X-Received: by 2002:a17:906:20c6:b0:718:cc95:ccaf with SMTP id c6-20020a17090620c600b00718cc95ccafmr14597589ejc.714.1656359069870; Mon, 27 Jun 2022 12:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656359069; cv=none; d=google.com; s=arc-20160816; b=YivmG7EiNcnd6pyatkfDCLMRhMx3RT9QKMPan/f+dn0gNeh96QiRbotm7k6meoMl6C 8JOdnkM1rqxHcN2j/dGx8uNciStEwEFc2URt16PN2AtflIY8soIuBCfgVji56n8Yl9VK NFyZmxGZJivmaS4GOKj9kuwjHFZRDK//0czfKr4W0lkPuUX9W8hfgtH3hu8XfuWV71t+ T8rhATA4cJe0jJlEJoxPhRYVgtRY5bn7xcwYgLLpv6uglkaMO3eiDnQoCpSSCVuQpzfn lJEoUWa+Z9sMWBhv82JbsDyV/Koza8w33aHgexGTnMuqZfutfXvCaf3o6Wi2LIScF7ns 0i9Q== 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=0yX9mBCtyn3dt/LFcnWYLnHjmmtyKFR5605f1mLuzSM=; b=QMD1rmoW6SY12oFGak3jmGMj3th2tQo1OiSr5Scjs1uhaQpz5jISy5KABt6LM5syhp Lrg2kpsY+e0JBigYuD63iNu1QGdqt06DSHbQYn0Bp87as5OY3VjetN2E11o1YqLvX/mN gunuP2uHsUb+cl8jdd1LFPxztestVnhO0aDt4y9tnkAooQciHCZ1B37zaI7CdGw36fMd /beTlY1HNAsTDE0dthQV3Th9hs0muT/HFgaVPQbKxL5oopLpAfdYEca9T0rYBwNp7OQ5 ZZ0L3FEKkQcBfCHj6IPkToxz00MJU4JNheaxYIrhwBtUpVNrTSWjprj5YfHjARlcUgCh TQZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=AtMYN6PS; 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 m6-20020a056402430600b0042af9d59d05si16656870edc.25.2022.06.27.12.44.04; Mon, 27 Jun 2022 12:44:29 -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=AtMYN6PS; 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 S240600AbiF0Tlz (ORCPT + 99 others); Mon, 27 Jun 2022 15:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240534AbiF0Tlp (ORCPT ); Mon, 27 Jun 2022 15:41:45 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5571617AB4 for ; Mon, 27 Jun 2022 12:41:34 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id r20so14522648wra.1 for ; Mon, 27 Jun 2022 12:41:34 -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=0yX9mBCtyn3dt/LFcnWYLnHjmmtyKFR5605f1mLuzSM=; b=AtMYN6PSkLA1y0PqfjVZ9B2anDv7fpdxjk9Z2GEBmdgR3Y/a5AVf7ucMgQk3IvAslk Q0FldXcJOm2h1zMZQtoN6HX/VUa9z6V+celDZ6Cf6uyoZ436qN3qrQ4XzyB4kEaC/OCy hcHOUjibIOU8Lfa1bhhnNuso3DiXNufNqD3OC3JF6FBFpZWJXFeM2Ph8krHKA6xsWkzO fu96DPwW+8Wa2B9/eZ4mV4u23G09Fp5aWq/QeIOVXKmMAqyQFsynIPrm59xnsG6Zk4C0 oWRHhkY277ATUfplHzV4oeIn1Ke23xrVrGkP/kyz5t1D04Mi19ZmsHObET6qcXxwAAAm jXLQ== 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=0yX9mBCtyn3dt/LFcnWYLnHjmmtyKFR5605f1mLuzSM=; b=a6HghhEwTOw87TfPXLEjGEGANoDZzRzjCAqDWfMIWHqn/4QeLpgvpQ1zYgEBA7zLAN /flX00BjEQ855R5Dmg3jep5cVeKSAcp7rSeXkEfOGO5LXSEaCfP+rAi0sicGHy3vy4MT fMJ9LNhk0Cgdim0tAWEyE18VMf2tbVUuYzmleKwAbQrFkxYq03k3egAVSTgF2dKWP0Jr xSFa1dk98dorvMWpJn9LwN25s/6nEry+jf+afFOvFdRtc2iBNL38TRd2ZG4occD79q08 0OXwTCvVKR8aYNsJLnDTIx7OmxB+rs5UzNJMkGHGEYR1jVWN9QyO5teYfZOjcdUkmCdn q/vQ== X-Gm-Message-State: AJIora+z/UVlnZXCEqpVEIT7ltA655J+yX/mn3pkImZHxc9VWGKG9RfY EHSp41rYSbNPyPTPYZ8xGghFyw== X-Received: by 2002:a5d:584f:0:b0:21b:a557:98fa with SMTP id i15-20020a5d584f000000b0021ba55798famr13392886wrf.462.1656358893163; Mon, 27 Jun 2022 12:41:33 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id e9-20020a5d4e89000000b0021a3a87fda9sm11428047wru.47.2022.06.27.12.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:41:32 -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 10/16] riscv: dts: canaan: add a specific compatible for k210's timers Date: Mon, 27 Jun 2022 20:39:58 +0100 Message-Id: <20220627194003.2395484-11-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=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 timers on the k210 have non standard interrupt configurations, which leads to dtbs_check warnings: k210_generic.dtb: timer@502d0000: interrupts: [[14], [15]] is too long From schema: Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml Change to using the newly added canaan k210 specific binding to avoid the warning. 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 45ccab36618a..be42c56e770c 100644 --- a/arch/riscv/boot/dts/canaan/k210.dtsi +++ b/arch/riscv/boot/dts/canaan/k210.dtsi @@ -318,7 +318,7 @@ fpioa: pinmux@502b0000 { }; timer0: timer@502d0000 { - compatible = "snps,dw-apb-timer"; + compatible = "canaan,k210-apb-timer", "snps,dw-apb-timer"; reg = <0x502D0000 0x100>; interrupts = <14>, <15>; clocks = <&sysclk K210_CLK_TIMER0>, @@ -328,7 +328,7 @@ timer0: timer@502d0000 { }; timer1: timer@502e0000 { - compatible = "snps,dw-apb-timer"; + compatible = "canaan,k210-apb-timer", "snps,dw-apb-timer"; reg = <0x502E0000 0x100>; interrupts = <16>, <17>; clocks = <&sysclk K210_CLK_TIMER1>, @@ -338,7 +338,7 @@ timer1: timer@502e0000 { }; timer2: timer@502f0000 { - compatible = "snps,dw-apb-timer"; + compatible = "canaan,k210-apb-timer", "snps,dw-apb-timer"; reg = <0x502F0000 0x100>; interrupts = <18>, <19>; clocks = <&sysclk K210_CLK_TIMER2>, -- 2.36.1