From: Alper Nebi Yasak Date: Wed, 28 Oct 2020 01:34:57 +0300 Subject: [patch v2 07/10] drivers/pwm/rk_pwm.c: Fix default polarity In-Reply-To: <20201027132236.036333749@rtp-net.org> References: <20201027132131.016984025@rtp-net.org> <20201027132236.036333749@rtp-net.org> Message-ID: <3260ecaa-83e4-f8fe-0bb1-733b01ed2014@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27/10/2020 16:21, Arnaud Patard (Rtp) wrote: > In the code, the default polarity is set to positive/positive, > which is neither normal polarity or inverted polarity. It's > only the hardware default. This leads to booting linux with > wrong polarity setting. > > Update the code to use PWM_DUTY_POSTIVE | PWM_INACTIVE_NEGATIVE > by default instead. > > Signed-off-by: Arnaud Patard On a rk3399-gru-kevin, (see comment in patch 1): Tested-by: Alper Nebi Yasak