Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2023495rdf; Mon, 6 Nov 2023 02:21:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3CGSGH1rEgirOe9IhvHHRiXhIBBrsIWvYvy2oR5s6+Tcl9/Mm2itZBN0zTFL2TWo3gLL9 X-Received: by 2002:a05:6358:f209:b0:168:eb1c:366c with SMTP id jj9-20020a056358f20900b00168eb1c366cmr23562185rwb.31.1699266085420; Mon, 06 Nov 2023 02:21:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699266085; cv=none; d=google.com; s=arc-20160816; b=Rfy7MyUw3JAdS1oxuKQs0n7TGtUi3n7DyXlAoF/vqN3USNMqHpIlC7YJyPJgB+ENtc +k/5dcJHzi7OISTE4yiy96gapKRpNJt5/4yspv/wljvygWi7NTbMj2j3Au0EzH2C0GlI FA0xis38nrqX2QBMfCZnD1eR8Jw5iJDWNmYJyPzTSjlTzNApHqAwqdjwzsxXCBNJ2ge/ S/6zEL6qATtrNCTqCYNQO05FGKsF7O47N6KKG27XMzWbetsSCyPH0B9XMCdjc7LmU6gV i/HjTNwwM7uZHK8/yNdzMkr4Ofwz2ryRahzcKAo4YLpdUigNHrCm2VFcSIhhvPcHL2YS vZZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fNKQxmrOUUS2uoYEBNzjyteFpbF5gUm6Ln8d+KkaMlk=; fh=dpS/KOLfRiq/2GQlMvsgTELhdK7s3lGDbOFfUdT5Xd0=; b=oMoyqpfEZPAf07iHQlL3XmEtFKbKtBtE5zr0Pyk0BqGSD5ZdHLmekoa2xlojeR0Aai c1P7rvyvlZwmeNFtL3qdl5lBzKYi4h3QDwsHTOBc4p8gTPC2ofDfpVoC8HaM/nJXU0RC O1CEVdVRrVlltQLo7GdYl5IK8HiWb7Wlnuf/1KzlGjI5HwIS0dekFOnw+YJsmlPUBlmD zzD35ns3NuQAw+WqZAoigKRkrXBx5vGgbiAzRfqNe+p5UGXmQC3LoLR6S7s2jKwGddgu s1KBYvmnY9NXtYbGvr4NPSTxW/6zfLmWFrv2kI/aFVWvMJQFGpb+wZ4xiaBF7GQW0SFT icuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gzuFufSy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bw5-20020a056a02048500b005bd3a0e2ec5si8861304pgb.472.2023.11.06.02.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 02:21:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gzuFufSy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DEC6A807C853; Mon, 6 Nov 2023 02:21:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbjKFKVN (ORCPT + 99 others); Mon, 6 Nov 2023 05:21:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjKFKVL (ORCPT ); Mon, 6 Nov 2023 05:21:11 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B112A2; Mon, 6 Nov 2023 02:21:08 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3A6AKtEc078827; Mon, 6 Nov 2023 04:20:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1699266055; bh=fNKQxmrOUUS2uoYEBNzjyteFpbF5gUm6Ln8d+KkaMlk=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=gzuFufSy2OTXN1otSdg4DxM9zMZQiCXixfmnOve8eyS6Sov3ibN61rBIePW3GWXfd bw8xroKxm6iTbEF4hAdOr4BerOdI1phsXEnH42AXjU/rEuKb8Z4Y8M3/efL6CegNIK Yy3OIyENvxnmE2Nk8zvwcUoTNBiL/Eu1ZOg7/lpY= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3A6AKtZw023817 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 6 Nov 2023 04:20:55 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 6 Nov 2023 04:20:54 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 6 Nov 2023 04:20:54 -0600 Received: from [172.24.18.150] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3A6AKn2I031173; Mon, 6 Nov 2023 04:20:50 -0600 Message-ID: <3cbb70e4-12e9-4124-8287-2c636a0e75e5@ti.com> Date: Mon, 6 Nov 2023 15:50:48 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type To: Tomi Valkeinen , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , References: <20231106-am65-dss-clk-edge-v1-1-4a959fec0e1e@ideasonboard.com> Content-Language: en-US From: Aradhya Bhatia In-Reply-To: <20231106-am65-dss-clk-edge-v1-1-4a959fec0e1e@ideasonboard.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 06 Nov 2023 02:21:23 -0800 (PST) On 06-Nov-23 15:27, Tomi Valkeinen wrote: > DSS irq trigger type is set to IRQ_TYPE_EDGE_RISING in the DT file, but > the TRM says it is level triggered. > > For some reason triggering on rising edge results in double the amount > of expected interrupts, e.g. for normal page flipping test the number of > interrupts per second is 2 * fps. It is as if the IRQ triggers on both > edges. There are no other side effects to this issue than slightly > increased CPU & power consumption due to the extra interrupt. > > Switching to IRQ_TYPE_LEVEL_HIGH is correct and fixes the issue, so > let's do that. > > Fixes: fc539b90eda2 ("arm64: dts: ti: am654: Add DSS node") > Signed-off-by: Tomi Valkeinen > --- Reviewed-by: Aradhya Bhatia Regards Aradhya > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > index bc460033a37a..c98068b6c122 100644 > --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi > @@ -1034,7 +1034,7 @@ dss: dss@4a00000 { > assigned-clocks = <&k3_clks 67 2>; > assigned-clock-parents = <&k3_clks 67 5>; > > - interrupts = ; > + interrupts = ; > > dma-coherent; > > > --- > base-commit: ffc253263a1375a65fa6c9f62a893e9767fbebfa > change-id: 20231106-am65-dss-clk-edge-7d1bdd7c0f58 > > Best regards,