Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp237061rdf; Tue, 21 Nov 2023 00:48:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDOoKSsQ+cOIXw11eD66m3HNl6nBUPFMvU/4FgDa7MOm0Ax6qXEz/tj4EbPGuld5s63sgq X-Received: by 2002:a05:6359:a302:b0:16d:e966:c36d with SMTP id kx2-20020a056359a30200b0016de966c36dmr2260534rwc.7.1700556512209; Tue, 21 Nov 2023 00:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700556512; cv=none; d=google.com; s=arc-20160816; b=YzJZpVJuF75dBLBlvm06YA6al0/DgL0f21AScBuwgHXYsYqOLwKfX3uZEjQYhAuE3q aKNFBrEKdNA8ykHxPogAVBfoLbMznz10AtfFnWDtNfNfXycd3yvlbkqhcOejxnnwQM7r +cFHTOxKQ/UdR8OOX/i/1UmqXCAlGWasw5XdfaY3vA27L4q5SjObq2jLVRQJ3jS5oRPh rA9xYzDTmUl+V3fQ51bhsBNMlewGG8N6qWENt+nky3mvrtX9jDeCEyjUXMG8xOGyaA9R 5XxV7UceZmQ8oKh3dCbrgP9R3NF/RWqWY3NHCXZHWcno6bnRCzJ4/Yl0NQdkfu364RGb 1OJQ== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=2ZnB40MK4cpG6KQSwqOklRTH8FxLRh1+K9NNk+M9mFg=; fh=k5ofm+QuaZzyKfcApNu9sN0E+yunJAnBziaxZ7Csl88=; b=hlpgyfZZsXDS4r2BJfYdsIrra0z0jqWtI2mDL4/ShIewm+9JrrYReS3FrEV2sMKXjf I5rB+lRbgyx4SyaaxPgziqG8NXKrpUbv5w+uMe+DdHADF2Rx/uG5FglBxytdu2/DoT2n TgqlTJL7/xu/b2wIgrmR9shDMjp98RDwdkMcUflsJuVJIyZC8biiQSWrHE9rAW6laNAE F4LPeZ4im55P4iiCyKi7+0P+eajn0E261A+mJvBs/sh/ndG3FSYm8v6rPqAAjLKu5Grp mXc2E6wgieOQO+9icvK/+62HUGqSARhGjEpWV+yRdpUOMpSGz9Pjmxy1RsLQhKmrmf9O 7iCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="BZQxyL/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q14-20020a63e94e000000b005898cf1c6a0si9785867pgj.324.2023.11.21.00.48.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 00:48:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="BZQxyL/1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C3B6E8036938; Tue, 21 Nov 2023 00:48:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229492AbjKUIsX (ORCPT + 99 others); Tue, 21 Nov 2023 03:48:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjKUIsV (ORCPT ); Tue, 21 Nov 2023 03:48:21 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 239CBED; Tue, 21 Nov 2023 00:48:16 -0800 (PST) Received: from [192.168.88.20] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id ABCB0276; Tue, 21 Nov 2023 09:47:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700556464; bh=rA9YRqTSopnzas76H+xnoK4mgea83zuU/luZP/7U28w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BZQxyL/1+07ZiYYYKIEDZ+EJm+fJCMOqxcljaXS/J9Kc6OkQXQ2BWc7IN1Mqi8qPN itNncFbogl6teO6Ttc5MNwjh54p1povTLYyOLeuum79F0nSFoDaHurpxpgaIBhjWF0 fzrvi5IhwgjRZrKmNh82VPCOjsKbOVSeo3T3LUrY= Message-ID: <09b81f9b-9a06-40a0-811e-a6a00aaa4617@ideasonboard.com> Date: Tue, 21 Nov 2023 10:48:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type Content-Language: en-US To: Aradhya Bhatia , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231106-am65-dss-clk-edge-v1-1-4a959fec0e1e@ideasonboard.com> <3cbb70e4-12e9-4124-8287-2c636a0e75e5@ti.com> From: Tomi Valkeinen Autocrypt: addr=tomi.valkeinen@ideasonboard.com; keydata= xsFNBE6ms0cBEACyizowecZqXfMZtnBniOieTuFdErHAUyxVgtmr0f5ZfIi9Z4l+uUN4Zdw2 wCEZjx3o0Z34diXBaMRJ3rAk9yB90UJAnL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jCFdcAO8eMAEQEAAcLBXwQYAQIACQUCTqazRwIbDAAKCRD6PaqMvJYe 9fA7EACS6exUedsBKmt4pT7nqXBcRsqm6YzT6DeCM8PWMTeaVGHiR4TnNFiT3otD5UpYQI7S suYxoTdHrrrBzdlKe5rUWpzoZkVK6p0s9OIvGzLT0lrb0HC9iNDWT3JgpYDnk4Z2mFi6tTbq xKMtpVFRA6FjviGDRsfkfoURZI51nf2RSAk/A8BEDDZ7lgJHskYoklSpwyrXhkp9FHGMaYII m9EKuUTX9JPDG2FTthCBrdsgWYPdJQvM+zscq09vFMQ9Fykbx5N8z/oFEUy3ACyPqW2oyfvU CH5WDpWBG0s5BALp1gBJPytIAd/pY/5ZdNoi0Cx3+Z7jaBFEyYJdWy1hGddpkgnMjyOfLI7B CFrdecTZbR5upjNSDvQ7RG85SnpYJTIin+SAUazAeA2nS6gTZzumgtdw8XmVXZwdBfF+ICof 92UkbYcYNbzWO/GHgsNT1WnM4sa9lwCSWH8Fw1o/3bX1VVPEsnESOfxkNdu+gAF5S6+I6n3a ueeIlwJl5CpT5l8RpoZXEOVtXYn8zzOJ7oGZYINRV9Pf8qKGLf3Dft7zKBP832I3PQjeok7F yjt+9S+KgSFSHP3Pa4E7lsSdWhSlHYNdG/czhoUkSCN09C0rEK93wxACx3vtxPLjXu6RptBw 3dRq7n+mQChEB1am0BueV1JZaBboIL0AGlSJkm23kw== In-Reply-To: <3cbb70e4-12e9-4124-8287-2c636a0e75e5@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=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]); Tue, 21 Nov 2023 00:48:29 -0800 (PST) Hi Vignes, Nishanth, Will you pick this up? Tomi On 06/11/2023 12:20, Aradhya Bhatia wrote: > > > 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, >