From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@bootlin.com (Maxime Ripard) Date: Wed, 6 Jun 2018 21:32:26 +0200 Subject: [PATCH v2 2/3] arm64: dts: allwinner: a64: Add PWM controllers In-Reply-To: <20180606051702.6478-3-anarsoul@gmail.com> References: <20180606051702.6478-1-anarsoul@gmail.com> <20180606051702.6478-3-anarsoul@gmail.com> Message-ID: <20180606193226.3u7cr2dva63aupm7@flea> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 05, 2018 at 10:17:01PM -0700, Vasily Khoruzhick wrote: > From: Andre Przywara > > The Allwinner A64 SoC features two PWM controllers, which are fully > compatible to the one used in the A13 and H3 chips. > > Add the nodes for the devices (one for the "normal" PWM, the other for > the one in the CPUS domain) and the pins their outputs are connected to. > > On the A64 the "normal" PWM is muxed together with one of the MDIO pins > used to communicate with the Ethernet PHY, so it won't be usable on many > boards. But the Pinebook laptop uses this pin for controlling the LCD > backlight. > > On Pine64 the CPUS PWM pin however is routed to the "RPi2" header, > at the same location as the PWM pin on the RaspberryPi. > > Tested on Pinebook and Teres-I > > [vasily: fixed comment message as requested by Stefan Bruens, added default > muxing options to pwm and r_pwm nodes] > > Signed-off-by: Andre Przywara > Signed-off-by: Vasily Khoruzhick > Tested-by: Harald Geyer Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com