lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230209102807.1.I3e1463cd0fb66311a269f2698d0767a2acfaac3f@changeid>
Date:   Thu,  9 Feb 2023 10:28:16 +0800
From:   Owen Yang <ecs.taipeikernel@...il.com>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     Matthias Kaehlcke <mka@...gle.com>,
        Gavin Lee <gavin.lee@....com.tw>,
        Doug Anderson <dianders@...omium.org>,
        Harvey <hunge@...gle.com>, Abner Yen <abner.yen@....com.tw>,
        Stephen Boyd <swboyd@...omium.org>,
        Bob Moragues <moragues@...gle.com>,
        Owen Yang <ecs.taipeikernel@...il.com>,
        Andy Gross <agross@...nel.org>,
        Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konrad.dybcio@...aro.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
        linux-arm-msm@...r.kernel.org
Subject: [PATCH] arm64: dts: qcom: sc7280: Adjust zombie PWM frequency

Tune the PWM to solve screen flashing issue and high frequency noise.

Signed-off-by: Owen Yang <ecs.taipeikernel@...il.com>
---

 arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi
index 64deaaabac0f..000f64d27ab9 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie.dtsi
@@ -61,8 +61,8 @@ ap_tp_i2c: &i2c0 {
 };
 
 &pm8350c_pwm_backlight {
-	/* Set the PWM period to 200 microseconds (5kHz duty cycle) */
-	pwms = <&pm8350c_pwm 3 200000>;
+	/* Set the PWM period to 320 microseconds (8kHz duty cycle) */
+	pwms = <&pm8350c_pwm 3 320000>;
 };
 
 &pwmleds {
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ