From patchwork Tue Aug 29 20:37:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13369549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3AEC4C71153 for ; Tue, 29 Aug 2023 20:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=moF7O8bjlb6SiFQTQPB4UyUQBJX8Vsd4G0MpdUjDcpQ=; b=TlTDe0hwcDRigx OJ8RnuhKAwDzcqs5d9OYg+rvzShKiGCB1D3vRE59DPL4Iqu1PIC14q4xKvXNPOwBRYffahhU88NUy szDbl+Lwv1zPrdB/7VkrBHA+VOVSK7E2ymmfcZJI3hGv67eDDtks617KGVwOkH2zBxRiy+ALK95OE 1xkUZ5xNn5VqmTXA8hBTrNfkBuYdD3wOJIvRRsFJREFoxlKTV0TClhZAwPbdys/Vm/WeSYvISDFIp NXcIADuEaa7Pt6aD9HI8jVtqTs6NElQ4X6Hf4XWoTjOa1mxHMQuzrj1hXvHdNOeiOlkO2TbFPM+c7 W8iFKJvon0iAb1YPaojQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb5Tm-00CEGo-2A; Tue, 29 Aug 2023 20:38:26 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb5Tk-00CEG2-02; Tue, 29 Aug 2023 20:38:25 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99cce6f7de2so635045766b.3; Tue, 29 Aug 2023 13:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341501; x=1693946301; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R9DunujICwW+FdyG9ifMFQMXRh/n/3eNMexEB6m+XBc=; b=PapbYEwAevD0rgxn3lSfdMXpqmdn0zygz+HtrN7/MD9t3ChDFLraqRHP9RoJVRgukD 0K683QfkwxfH4nfhO9t0JBnO1Nmbr/U9DHRKm55su5Z5TiX/gUxTE7hJJEEYmAZcMUuE tFhgpJZN5hiyqsTX2Q+jUvpEqJg02fFO8Llss5esLDFPawju9DFbbDs8LoPnndl7KxMf tv6wpVsySjwKLU25XmGchMZ9PPvacUd/Goj/KgWM587jlfjt1rZ/Y7YXqRES1g5F2my/ rQix9HdrlIMWSfZd7VFEJE7JMbehq486XnMOcxFrVJY9xb7SpkliZbNZizevbR2L58Vb TJRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341501; x=1693946301; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R9DunujICwW+FdyG9ifMFQMXRh/n/3eNMexEB6m+XBc=; b=XD6EJj+vfWOGzXg+b0h9PqU+0hRo++HlNPRifqVHz/L6KqEquatEQfYv1HpGjGR0xM IZ+ozIfwBBHGxW4rn02MUO6jvsrxOzwxgYPgcp7pWztACItQgDINoX7R0s8d8rV+L3Eo tBxeKfo18XNJq8k8v8VS+O5SkN5t3B6FYz+Wpg5YzJdjtTKfVa9SPDUZY6dapCcIqphM JY7ohgdlTibsp8ff3uXMMZj8ggCszFvgo7P4ZG0MVEJmob+bworY6ktyqI9OTs6H/96S K2uKwgK5otFNvHZtARhxnMXH+NAYE9XKaVhUXyG8ENB+AnbPrlAZyv+1hj9S5zOBgql+ em4A== X-Gm-Message-State: AOJu0YzG4c5uZpvqyyaR71XgMngyj77J/NbWX6Y07xjxpKUJVB6kb8I4 YbvyfPvJDsZvnq0B88x8x0Jfj4d1Hg== X-Google-Smtp-Source: AGHT+IGzovbuvRi/NoA+BSlRDFpWfGddCHO/7MqVFe2h+n0fapdIraX3TlcPIRaGWebC8sszbwVGXQ== X-Received: by 2002:a17:907:8b8c:b0:99b:de31:6666 with SMTP id tb12-20020a1709078b8c00b0099bde316666mr96013ejc.22.1693341501628; Tue, 29 Aug 2023 13:38:21 -0700 (PDT) Received: from U4.lan ([2001:9e8:b958:3410:8e0c:ed68:cd6c:7cb8]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b0099364d9f0e9sm6301908ejx.102.2023.08.29.13.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:38:21 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/5] ARM: dts: rockchip: Fix i2c0 register address for RK3128 Date: Tue, 29 Aug 2023 22:37:21 +0200 Message-ID: <20230829203721.281455-6-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230829203721.281455-4-knaerzche@gmail.com> References: <20230829203721.281455-4-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_133824_050578_05D2B1D5 X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The register address for i2c0 is missing a 0x to mark it as hex. Fixes: a0201bff6259 ("ARM: dts: rockchip: add rk3128 soc dtsi") Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index b63bd4ad3143..2e345097b9bd 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -426,7 +426,7 @@ saradc: saradc@2006c000 { i2c0: i2c@20072000 { compatible = "rockchip,rk3128-i2c", "rockchip,rk3288-i2c"; - reg = <20072000 0x1000>; + reg = <0x20072000 0x1000>; interrupts = ; clock-names = "i2c"; clocks = <&cru PCLK_I2C0>; From patchwork Tue Aug 29 20:37:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13369551 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81CD8C71153 for ; Tue, 29 Aug 2023 20:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zzGhKBL0qPdkrRvUMSRzbHjBwvN+UeiXKJi01JzWQCg=; b=RZFqOeDRf9r/+3 Hkt5La2M8eqvXyngkZ4wl/vZrW925nFnfS1AAh/ia5TdtSMwMnbAecr5I8uGOKQtLj9mzKQRA44c6 7NiHpv7JHff6zETdQ9Dck0Pa1V8w9GY7hyYw775o/+PLrfGSjrdWsjRVgqrUuHJwLtZlGoAjPYKYf Wn/0SLdgksv+mzeuaZnFro9IPwFkjMptDMKFE6XnQi/P+kecC3c6cetXs15lYljm6MabulSWmAZ/O fFZKFK5cZ30kayuHnjN0SREfsAg2fvr3Firg856tXK2a79Lklnm0J0A1KkLjDjzZ3FhymYSVYBH77 DJZhxrMAcefc/Cmo5PqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb5U6-00CEMK-25; Tue, 29 Aug 2023 20:38:46 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb5U4-00CEKd-21; Tue, 29 Aug 2023 20:38:45 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bcc187e0b5so74529411fa.1; Tue, 29 Aug 2023 13:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341519; x=1693946319; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v9WQxc48AN8oLpfzoyxvnK9hzzun80wFf5I/eOz65VI=; b=P8s9Qi2THo1HlD2ma6Gv8KIedKonDFTxjl9CND2CzBcJ0B7BoxXudcIm4drHBo/9+a AzoC254eNEBdL2zcMO9ELGqxgRaIRd6XYX39HbwYm6aAEr13B7vYINT6GnN7BV0g/3Il rHg1locMEM0OYKSjw0toykRxbeMQqfv1694g7NbvhMA0XHkTQwsOSGryHy1D16GZHMXP ixelcMCiKBn+829mNpCrHnb8ECacmJjT7tNeUsfdUsOnmiLTz6XedEAnuZX5mP1fq00t BPp9ySyk9H+24UCZVX/OxSS6uB5sevwNY0iNfYHWi0mN2laDfbnLGfB5coPqk+ljURnr 2OFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341519; x=1693946319; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v9WQxc48AN8oLpfzoyxvnK9hzzun80wFf5I/eOz65VI=; b=QCklLrWoV+Sjv0bpfmb7gwWirks9sXhvo++RnNu5ZycxpRtC7OZuLFjYYlPZ2RDBsJ zG+p2c8WtKtLfw5uMK+23f+0z+oPun2aBV7b1ipSkep9PhWkM9kY1Nz9GsOLhM3sk0vf HN/Dw2/BrwAQD012wcKYbH1jUoVtjsk2HgOeBosqybLy+MOS6VEgLgvCx0b/k20f0qdO lgt+2Tkf1pJmhoDKCesWwb69JIUQdqqcvUhCOPUyHEMP4ZlfIvAemlgIHQIvAKGZ0HaL 2GmaChwBNCCNJNpnXyl2apLUD8SOwcNjmtm37ARAQXRyn1ZN/QHjKE4tvKv7cJzHb8uc bZOg== X-Gm-Message-State: AOJu0Yx7iM6u5w+JdwPb0vZ05LH/vjVJxq6TbYPgh+nrXgy4VQsGd7Jt om8WElq9fjHsuSHIkcCo4A== X-Google-Smtp-Source: AGHT+IFvHbLjZWO2QDfV4zRe3bFI0A7Ke57jlNuL4yav8b3ZtuWVmbXJa6D/bd6/rC9RRmbAKn1NjQ== X-Received: by 2002:a2e:960b:0:b0:2bc:c2cb:cd3f with SMTP id v11-20020a2e960b000000b002bcc2cbcd3fmr280387ljh.32.1693341518954; Tue, 29 Aug 2023 13:38:38 -0700 (PDT) Received: from U4.lan ([2001:9e8:b958:3410:8e0c:ed68:cd6c:7cb8]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b0099364d9f0e9sm6301908ejx.102.2023.08.29.13.38.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:38:38 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 2/5] ARM: dts: rockchip: Add missing arm timer interrupt for RK3128 Date: Tue, 29 Aug 2023 22:37:23 +0200 Message-ID: <20230829203721.281455-8-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230829203721.281455-4-knaerzche@gmail.com> References: <20230829203721.281455-4-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_133844_670657_F27F7C88 X-CRM114-Status: GOOD ( 11.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Cortex-A7 timer has 4 interrupts. Add the missing one. Fixes: a0201bff6259 ("ARM: dts: rockchip: add rk3128 soc dtsi") Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 2e345097b9bd..bf55d4575311 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -64,7 +64,8 @@ timer { compatible = "arm,armv7-timer"; interrupts = , , - ; + , + ; arm,cpu-registers-not-fw-configured; clock-frequency = <24000000>; }; From patchwork Tue Aug 29 20:37:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13369552 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECCB5C83F12 for ; Tue, 29 Aug 2023 20:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xmgu3UflcjhvcesbBhGg7B+n6KbhmKrfRdQc1N+uX0o=; b=44CnvlCOHn7byA Tiv8bCpX/X0uxJCNCVditMMxzdNPtHNxU88rhBtv2A+sCUXgE+cm5s/9DFMMCcFlDQnTY40E0G6hf CKCRhO+1R4hbms9pqJKj7RyKM/d3cKg0Pxz1pU1SL6mK35jUDiwr99c3af+3Dva4jPKzpFahZL0CF OS42NbFpJlNNQmxGOakQ0KpDGz7bAfdeSCGtrNdWZi7hzVV4G6htqCBtlG4UDAQkzwta5FruBMql5 PuG3s3xe2H+DOtVhlmLonREmEaBrIQVcRQwe19pNhh4nBNlOrQtBJ9H3ne4h8fZ+pS2MptDrpWZEE tLaKLhrib6x/0lt6S1Xg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb5UG-00CEPH-2w; Tue, 29 Aug 2023 20:38:56 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb5UE-00CEMy-0R; Tue, 29 Aug 2023 20:38:55 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-99c4923195dso605650566b.2; Tue, 29 Aug 2023 13:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341528; x=1693946328; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0OQ0uMxvObgSXiZXc7XOlyouI6S5o18+qbYKi7xXiJU=; b=mDJMfo1Ng0U2sOSKRDVa16RUKNpDkI/KBGvxgwK4kLiyC4/QsMJ7eaVSZX+iR33Wgq W2zpVn+kf+s8lezd72TwA4A3Ru4DCsyWA0GjrFyVDb0O73lXkrLn8tqvh/Ks+zL9wNJF Z9c0eQ82fVwh5ORBPj+JIn9Lad4xtzoKscespFmDBgIZ7BWm39uU6cI8Tcj/aLfoE8uQ SdyCo6auPTv4P+Ewu/wpDjH8VHQB3tGYBjJ2Vk3ScG/+SP3SbNK4/8cztcJlL1cMecGj fIxq6teYY4vmd4O+dhsTRM7neEpQpjHP9dRz/gfpusn9HxY2TVo1rwYU3B5wA0HCSH4B tObA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341528; x=1693946328; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0OQ0uMxvObgSXiZXc7XOlyouI6S5o18+qbYKi7xXiJU=; b=iEe7svAGa76v01a49GHVh+ylyz+MQY12dJ+SiT4M4fS8qZDWvQfp0i2HIbXSZJQCzE CJ5pTy4GJ1yvrwxd4TacljL4zrS+WnuA2Y383hhsqra/hU+8OYAuzC/Nt29JMfDrtbCv Tcks4R+MQBMENWPgBZRvV280AknTNywq2uLZwgC6v4iAtwrJBFVvih8IkwjkJy3ftdMM n09kYirnru0nzayO126PZbnFMeBdYzmr+3tu/HjdohFFDyWeAdfEOebGEYiVUaA6rdNo RB7bMAcIt6icn642xEegRtuNgaEQxeTeu+VX7Gb1CuSJGqXFUy7L2heLSMT6zSbSeTJY D9qw== X-Gm-Message-State: AOJu0YwY6zkQRf1pLVOxs5whMsspBgfH+WKK+R1cGR3ehGyV8KBpjEU0 Ecqy9523SxDmdqc67AGdzw== X-Google-Smtp-Source: AGHT+IEv8kBuJCMhIXwNVoQjMaCQf5mn5eJBOXA9wHc3xHSX+JITKzFIM/BaMQ9PjrNjxi2AgD6lEw== X-Received: by 2002:a17:907:a057:b0:99c:a23b:b4f4 with SMTP id gz23-20020a170907a05700b0099ca23bb4f4mr101556ejc.2.1693341528078; Tue, 29 Aug 2023 13:38:48 -0700 (PDT) Received: from U4.lan ([2001:9e8:b958:3410:8e0c:ed68:cd6c:7cb8]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b0099364d9f0e9sm6301908ejx.102.2023.08.29.13.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:38:47 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 3/5] ARM: dts: rockchip: Add missing quirk for RK3128's dma engine Date: Tue, 29 Aug 2023 22:37:25 +0200 Message-ID: <20230829203721.281455-10-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230829203721.281455-4-knaerzche@gmail.com> References: <20230829203721.281455-4-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_133854_176879_B49422B6 X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Like most other Rockchip ARM SoCs, the PL330 needs the arm,pl330-periph-burst quirk in order to work as expected. Add it. Fixes: a0201bff6259 ("ARM: dts: rockchip: add rk3128 soc dtsi") Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index bf55d4575311..9125bf22e971 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -459,6 +459,7 @@ pdma: dma-controller@20078000 { interrupts = , ; arm,pl330-broken-no-flushp; + arm,pl330-periph-burst; clocks = <&cru ACLK_DMAC>; clock-names = "apb_pclk"; #dma-cells = <1>; From patchwork Tue Aug 29 20:37:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13369553 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F56CC71153 for ; Tue, 29 Aug 2023 20:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1x/BCzueE0pfMPQWBDVmYMapqJANfoiy03tHykA12t8=; b=k3pnO+dRMhxekJ O3DRghEVUHs453Gv0HcbbqjfO0NX5Jso/A/KeNR8EluMysPf4fsAcYNW9e4KlxUzI7YoU7B3ABnpm S5vIqZtsn44JgXD7aCOfEcMLR3TjHWNwHaYvN7de3OmXyyZfiYikALJYBDYT0sXYxMpG4bcYGzhRq nVrpgcO3EEqqc7NJ4coaRboM39szlzkanK2PJbjCwHaqzHrZx6AEOrIRRypG6L1Q44fQwwgSHWqDj H8SkGtLqYPRelu/BKNt2QNUqcw0HanapjbrfIj2RbDVhJmSTfCCSiW2jUw4fdEDKk61SOzz7fFn4o GEW/oc2FyPJE2ACAlSMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb5Uk-00CEXE-1u; Tue, 29 Aug 2023 20:39:26 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb5Ui-00CEW5-1W; Tue, 29 Aug 2023 20:39:25 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-52683b68c2fso6384375a12.0; Tue, 29 Aug 2023 13:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341561; x=1693946361; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4/S078uVn7am6W43PcbwitpWSJn3a9dUt4aJRXNiiV8=; b=kzwExzam5SMZK+UEyaAae5Vn5qp1XzWwXmvzAR56n4m1hoqXou5JeRiWgr3ULT2LOW CMdC1HdPcV8VfHwKHuVEdG57+Ht1d9Q4L7IwCiM/3LJuabGw/DZok+fyibGN8M1IJZgT xod3M4jJMtUO8MgCLUvLqVhoMYwcadaSOWgWJ1wGB7T4a465PIYf7SRLSn8roTSQx9jZ fXrgFirrRvXPevaar4Ub1Wa2z4zco7pZBRFNWVkD0AJkAJhhcrngvnrLZylmh9RTeVRW EubQkUuOjsXUo4Q0iDoWY4I8BZGyZHyPtZv6bz4eGd8HSBFit9dakezm1V9gvZqS8OwS EZKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341561; x=1693946361; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4/S078uVn7am6W43PcbwitpWSJn3a9dUt4aJRXNiiV8=; b=brO/aEH5S1NIj9FLs8wjw5wV/01HSWI5CpkByemVb+GNcCpphpsh0NB36P1bassoRc e2WXUhaqgZNehdo2bdmxtGRV1Mj7DMyoGdlFVtDNuBQP1KGSJzaMjc1cAWsMcxK3UxYu sTifvjlK0GUHbXblXOS0U7OLftT842PZpFGL12lBcYaCzebgkjw7rLWJM7nIvXdLizO5 UTp/cBQIb8nngvSQudutpHky0UOznbCuiJSCi4Mmrad9N47xcr2fMDb+egj0v6dcrSdR TdO1gNGZb7S22ytRPene3eaG3TwqUjNAr3rNTM97L5sILeqECd6b5A69CzoZAA0zX16C PYFA== X-Gm-Message-State: AOJu0Yx5uEvX9UD35uCmU2O8CFfGERqbQgxnKRTyp6osQ7/RD3Nm962T 9G7lq+qrB6tisdlo3HJ62Q== X-Google-Smtp-Source: AGHT+IH0JPsXYQ46Kp00OCfZE6ki6jFotggl9aujrYzmo9vKs9nW7bi7ETeXiVcS8/E2zZTgTVWerA== X-Received: by 2002:a17:907:7758:b0:992:3897:1985 with SMTP id kx24-20020a170907775800b0099238971985mr87579ejc.43.1693341560769; Tue, 29 Aug 2023 13:39:20 -0700 (PDT) Received: from U4.lan ([2001:9e8:b958:3410:8e0c:ed68:cd6c:7cb8]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b0099364d9f0e9sm6301908ejx.102.2023.08.29.13.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:39:20 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 4/5] ARM: dts: rockchip: Fix timer clocks for RK3128 Date: Tue, 29 Aug 2023 22:37:27 +0200 Message-ID: <20230829203721.281455-12-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230829203721.281455-4-knaerzche@gmail.com> References: <20230829203721.281455-4-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_133924_508099_F47CD100 X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Currently the Rockchip timer source clocks are set to xin24 for no obvious reason and the actual timer clocks (SCLK_TIMER*) will get disabled during boot process as the have no user. That will make the SoC stuck as no timer source exists. Fixes: a0201bff6259 ("ARM: dts: rockchip: add rk3128 soc dtsi") Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 9125bf22e971..88a4b0d6d928 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -234,7 +234,7 @@ timer0: timer@20044000 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044000 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>; clock-names = "pclk", "timer"; }; @@ -242,7 +242,7 @@ timer1: timer@20044020 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044020 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER1>; clock-names = "pclk", "timer"; }; @@ -250,7 +250,7 @@ timer2: timer@20044040 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044040 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>; clock-names = "pclk", "timer"; }; @@ -258,7 +258,7 @@ timer3: timer@20044060 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044060 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>; clock-names = "pclk", "timer"; }; @@ -266,7 +266,7 @@ timer4: timer@20044080 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x20044080 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>; clock-names = "pclk", "timer"; }; @@ -274,7 +274,7 @@ timer5: timer@200440a0 { compatible = "rockchip,rk3128-timer", "rockchip,rk3288-timer"; reg = <0x200440a0 0x20>; interrupts = ; - clocks = <&cru PCLK_TIMER>, <&xin24m>; + clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>; clock-names = "pclk", "timer"; }; From patchwork Tue Aug 29 20:37:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 13369554 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DC67C71153 for ; Tue, 29 Aug 2023 20:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s1A9PyNs7rSc3kfBVEIB+jTRasQWSugS+rw3q1M14oE=; b=IrTJEfG5SEBLmz fMg9c6QU9w1zVHjm4sxJc17y+rtUZZdfwTqGlOg5qo87uxo8x3qvxszGa3uZhstwwoXjDmCUw5NCa 1k7K4fgHpXhCJUfisewOZ1jrxuA5H/PmpENI07A6rIauyEd9zV8Uxzzf3Guv7TeiuQrZ+XEXzX/yq z52mOHg6Upt77q/LH3iGK9LfrjE/q0YIrcdZgbaP3bwk7ZWJs77tpwH9K+8zm4lipJJQrEvsNclk1 SsvOAzjOnnxgCJFffdeCZYIla4tJRAg1wJrm6edjIIxCHCDCP1UkP41VM2lfDIBPDuJayX4oNCIjW 1MEsNMp/VI3vvXrT0IYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qb5V9-00CEeQ-0O; Tue, 29 Aug 2023 20:39:51 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qb5V6-00CEcc-1g; Tue, 29 Aug 2023 20:39:49 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99c1f6f3884so609414766b.0; Tue, 29 Aug 2023 13:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693341585; x=1693946385; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sorglNdzyV/pWO7YMPt4RJRiShdjAUubPesOLMeqaVk=; b=Qcl2W5sHW7JVQhLkiIM2KBKPP0ZXJiLBf+XX9s2PPECZJ/6aBTtg3AeTrYOLAZeZwy KI4u6UberpZ6XMjMf5H7XVdti+zoSQZbk3zMhni9cUSRV7WeF4buc3YFt3i34/Mtdlhc Pi8Y8iRw9fzO9XKZx2M4xdSQ3Yr/ZAb+H+W9HwJMLfBMeaIAC4eR5rx1EfS1xAqUta0b BScZhMfWPYw7elplTOyZyQWPsgDVcKK/vE2f0D9hMQLG591dveU6oKyGQhfUCfd1DNJK VJHA44R3HIYHo5+Ca8+BhmSdUfpniHY2sR/w0+YOM5OJWHVY8cR7MX9a8IWFGkMLkIKT aGNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693341585; x=1693946385; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sorglNdzyV/pWO7YMPt4RJRiShdjAUubPesOLMeqaVk=; b=KuMluTu80ER/hEuGNYZ6v0na46FO6PdrdhsIugJDImM0SRx6b4rzi0zb34MIuHYgH9 +AZJV1TqYB+fMzglS517JUS16TGikprgVu8Ia6Hx4rQscHLu3NR8Fy1yAd9F1C5SNU5H w3yCeSjTqEKwE2Sv5dOnQfuOlXO/NGbricSJiAhXSmsSbhhK1hr/XhnBT+QCdGXutVbL hnAaOglBfa/U/WhQ1MGotE645HZKRzKW4IY7q0EY82u1I0D8k9VDeCHdncCwzlhyAKci 5YyObckZb92RHiCpyRdVmMBHMmkzXGiD4t3mR+T/Txk/3uFgVH+PKI0zB4S0zKgk8WAQ cYHQ== X-Gm-Message-State: AOJu0YzHCiaA86g/Zc5zNjDyY9Kefi35vxuKWA8JuYYuaWJ+nAzrlhqh O3Dp9kzJCGkF84yBrufndKqlvAP4yQ== X-Google-Smtp-Source: AGHT+IH31n7PDUa4uJw+PjCrd2GZUoofcWejfASdpqTgb8iHtMdCv2N8O7FuhMI55faF2RTxe1Mbuw== X-Received: by 2002:a17:906:cc5e:b0:9a1:c42e:5e5e with SMTP id mm30-20020a170906cc5e00b009a1c42e5e5emr96025ejb.42.1693341584582; Tue, 29 Aug 2023 13:39:44 -0700 (PDT) Received: from U4.lan ([2001:9e8:b958:3410:8e0c:ed68:cd6c:7cb8]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b0099364d9f0e9sm6301908ejx.102.2023.08.29.13.39.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 13:39:44 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Johan Jonker , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 5/5] ARM: dts: rockchip: Disable non-required timers for RK3128 Date: Tue, 29 Aug 2023 22:37:29 +0200 Message-ID: <20230829203721.281455-14-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230829203721.281455-4-knaerzche@gmail.com> References: <20230829203721.281455-4-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230829_133948_557621_7DD53A47 X-CRM114-Status: GOOD ( 12.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Rockchip timer linux driver can handle a maximum of 2 timers and will get confused if more of them exist. RK3128 only needs timer0, timer1 and timer5. The latter is the source for the arm-timer and it's clock is prevented from being disabled in the clock driver so it can get disabled in the device tree, too. Fixes: a0201bff6259 ("ARM: dts: rockchip: add rk3128 soc dtsi") Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index 88a4b0d6d928..f3f0788195d2 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -252,6 +252,7 @@ timer2: timer@20044040 { interrupts = ; clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER2>; clock-names = "pclk", "timer"; + status = "disabled"; }; timer3: timer@20044060 { @@ -260,6 +261,7 @@ timer3: timer@20044060 { interrupts = ; clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER3>; clock-names = "pclk", "timer"; + status = "disabled"; }; timer4: timer@20044080 { @@ -268,6 +270,7 @@ timer4: timer@20044080 { interrupts = ; clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER4>; clock-names = "pclk", "timer"; + status = "disabled"; }; timer5: timer@200440a0 { @@ -276,6 +279,7 @@ timer5: timer@200440a0 { interrupts = ; clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER5>; clock-names = "pclk", "timer"; + status = "disabled"; }; watchdog: watchdog@2004c000 {