From: Alper Nebi Yasak Date: Wed, 19 May 2021 18:28:17 +0300 Subject: [PATCH] sandbox: cros-ec: Add tests for the cros-ec-pwm driver In-Reply-To: References: <20210516154144.141945-1-alpernebiyasak@gmail.com> Message-ID: <79e2d229-04f2-8c68-5167-c0a14314684d@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 16/05/2021 23:05, Heinrich Schuchardt wrote: > Am 16. Mai 2021 17:41:44 MESZ schrieb Alper Nebi Yasak : >> This patch lets sandbox-cros-ec emulate a limited pwm device which has >> multiple channels but can only set a duty cycle for each, as the actual >> EC doesn't expose any functionality or information other than that. >> Mapping non-generic EC_PWM_TYPE_* values to these emulated pwm channels >> is not implemented as nothing in U-Boot uses these types. > > This commit messages is full of of abbreviations which makes it unclear. Please, use human readable terms. > > I guess you might be talking about > > Chromium OS > Embedded Controller > Pulse Width Modulation > > But I am not sure. Those are pretty much correct. I'm sending a v2 with hopefully a clearer commit message. > Best regards > > Heinrich > >> >> This emulated pwm is then used to test the cros-ec-pwm driver in >> sandbox. Adding the cros-ec-pwm node to the sandbox test device-tree >> unfortunately makes it the first pwm device, so this also touches some >> other tests to make sure they still use the sandbox pwm. >> >> Signed-off-by: Alper Nebi Yasak