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 EE306C636D3 for ; Mon, 6 Feb 2023 21:04:09 +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:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zEAJRH05xHQSiLi7U+IqZ4HsUp7fWYst5A1sXpMrmdk=; b=Z6YQyml3FdpB8x nz7v25CcFvEDCIaUAfVZxKyvjNjRYBqUcbTU4uY5TjLrNdOI5adK553tmbS0DuyRA9h40ezXn1fMo /qmqR5jnuyCPwnv0/z8l/c4lYiTjD1qa/9/IA3X74FIwYwHB40kAFihAlJVNIzhZ8sN9aoXFf/nSQ 76zTnkRBnrTRiiaUx0NfJSgSdmAOBpwzy0nDAB8/sU22DleMMny9m+YH/c8UuY1rA+2MkQMaZblkJ SytBkI2/F+tZqxhNfiVpJVaFvj93w5Kgbv8DLxm88tYNZsVNRP65NpqNUK3cHwnnrKpF26nVIEknF +GZD+7HCsAqzuH6dP+xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pP8dm-009wXF-2B; Mon, 06 Feb 2023 21:03:06 +0000 Received: from mx.flying-snail.de ([2a06:1c40:3::42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pP8di-009wUw-Fw for linux-arm-kernel@lists.infradead.org; Mon, 06 Feb 2023 21:03:04 +0000 Received: from [2a02:908:1b0:8800:2ff:ffff:fe11:2236] (helo=mondbasis.internal.flying-snail.de) by mx.flying-snail.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pP8db-001voz-D9; Mon, 06 Feb 2023 22:02:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feldner-bv.de; s=s1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=2pugRrrY/jHwIUYNyE6SM2LDsIXpPsZTjyGq9Jd3onI=; b=ReMUsQPqktqw6a46yc2kQ6w+D9 BHoOWhRMShO/Zku8a9eTpYpYRTp3SoFPGEBORyT0PqkBJaOuJ48DCNmkjuFuKsFijtdciMG+M04wy iiGO6NuJ1IXx3OJDs+yS4t1SbmC7cz54V6MW9vUY56tKJez9ftC7NKpGnluS7/iEeAygb01l0Vs2w JEadKieyutvSDq+tojjHv0aWVXkZFObz/iq5YwPL83nRuqAhwhOF1Q1fioc4sQh4amg09eklA5Htz x/DWdXEavMST9IQErUCkol4VCduJqJJe3ZBw1isFVTIdPTKRgqfaNEORRLsKmJZwVf91iB6gMQP1r vuuz6hAQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=flying-snail.de; s=s1; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=2pugRrrY/jHwIUYNyE6SM2LDsIXpPsZTjyGq9Jd3onI=; b=eB83DX5bk1103SU9DMmPciicbb iMVjNniLEB4aREAiA3VHNQrinomAXwwZQPU5DXy2qxDR3Jdii3Bz7Diz8I7783aBF154l9ouhqe2J SjLbVjmBKkIUA525z836H9E55+asQHZ8oUX0ysmb/WwYBboguAonfojn/RjudyE95eWyDjvWbHFsQ QW3H+H1bu2yKErhyecrbJoopJMWQCaj8M50rJ8Drjyl6Dp/28VsnhqBgdr3nwWkHajgZ/BRHnVFrY cE3g7nrlsH4vn5On4edQ4KlBfqQvAv14xbwrxmnvijP+9ON1g6N3zGtCl1KOen7gN2purnLG6KeVS O/Sh7wIg==; Received: from [2a02:908:1b0:8800:1400:2ed0:5344:b031] (helo=debian-qemu) by mondbasis.internal.flying-snail.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pP8dY-0005oP-Ru; Mon, 06 Feb 2023 22:02:54 +0100 Date: Mon, 6 Feb 2023 20:51:50 +0100 From: Andreas Feldner To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: allwinner: minimize irq debounce filter per default Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230206_130302_996273_D5E65B85 X-CRM114-Status: GOOD ( 10.36 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SoC features debounce logic for external interrupts. Per default, this is based on a 32kHz oscillator, in effect filtering away multiple interrupts separated by less than roughly 100=B5s. This patch sets different defaults for this filter for this board: PG is connected to non-mechanical components, without any risk for showing bounces. PA is mostly exposed to GPIO pins, however the existence of a debounce filter is undesirable as well if electronic components are connected. Additionally, the clock-frequency attribute is added for each of the 4 cores to eliminate the kernel error message on boot, that the attribute is missing. Signed-off-by: Andreas Feldner --- .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/ar= m/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index d729b7c705db..1fc0d5d1e51a 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -113,6 +113,22 @@ wifi_pwrseq: wifi_pwrseq { = &cpu0 { cpu-supply =3D <®_vdd_cpux>; + clock-frequency =3D <1296000000>; +}; + +&cpu1 { + cpu-supply =3D <®_vdd_cpux>; + clock-frequency =3D <1296000000>; +}; + +&cpu2 { + cpu-supply =3D <®_vdd_cpux>; + clock-frequency =3D <1296000000>; +}; + +&cpu3 { + cpu-supply =3D <®_vdd_cpux>; + clock-frequency =3D <1296000000>; }; = &de { @@ -193,6 +209,8 @@ bluetooth { }; = &pio { + /* 1=B5s debounce filter on both IRQ banks */ + input-debounce =3D <1 1>; gpio-line-names =3D /* PA */ "CON2-P13", "CON2-P11", "CON2-P22", "CON2-P15", -- = 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel