Re: [PATCH 1/2] platform/chrome: cros_ec: Add VDM attention headers

From: Prashant Malani
Date: Tue Jan 31 2023 - 13:21:50 EST


Thanks for reviewing the patch, Tzung-Bi.

On Mon, Jan 30, 2023 at 7:19 PM Tzung-Bi Shih <tzungbi@xxxxxxxxxx> wrote:
>
> On Thu, Jan 26, 2023 at 08:55:45PM +0000, Prashant Malani wrote:
> > Incorporate updates to the EC headers to support the retrieval of VDM
> > Attention messages from port partners. These headers are already present
> > in the ChromeOS EC codebase. [1]
> >
> > [1] https://source.chromium.org/chromium/chromiumos/platform/ec/+/main:include/ec_commands.h
> >
> > Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>
>
> With a nit:
> Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
>
> > diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
> > index b9c4a3964247..ec327638c6eb 100644
> > --- a/include/linux/platform_data/cros_ec_commands.h
> > +++ b/include/linux/platform_data/cros_ec_commands.h
> > @@ -5862,6 +5862,7 @@ enum tcpc_cc_polarity {
> > #define PD_STATUS_EVENT_MUX_1_SET_DONE BIT(5)
> > #define PD_STATUS_EVENT_VDM_REQ_REPLY BIT(6)
> > #define PD_STATUS_EVENT_VDM_REQ_FAILED BIT(7)
> > +#define PD_STATUS_EVENT_VDM_ATTENTION BIT(8)
>
> This has an extra tab if comparing with others around.
Fixed the tab and applied to chrome-platform/for-kernelci.