Re: [PATCH v3 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart"

From: Enric Balletbo i Serra
Date: Fri Jul 17 2020 - 05:53:54 EST


Hi Rob,

On 16/7/20 21:13, Rob Herring wrote:
> On Wed, Jul 15, 2020 at 10:16:04PM -0700, Bhanu Prakash Maiya wrote:
>> From: Bhanu Prakash Maiya <bhanumaiya@xxxxxxxxxxxx>
>>
>> Add DT compatible string in
>> Documentation/devicetree/bindings/mfd/cros_ec.txt
>
> Need to update this.
>
> With that,
>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
>

So this is an ACPI-only driver that is instantiated by using the Device Tree
namespace link in ACPI. I am not sure how to deal with this, but I suspect we
need a proper OF binding definition before accept it.

The driver gets at least the baudrate and the flowcontrol from ACPI resources,
so I'm wondering if we should also add the properties in the device-tree
description (although we're not able to really test because there is not OF
hardware that supports it yet). Or is fine to just accept the compatible for now
and we can do this later when we have the possibility to test with OF-based
hardware.

Rob, any thoughts on this?

Thanks,
Enric

>> Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@xxxxxxxxxxxx>
>> ---
>>
>> Changes in v3:
>> - Rebased changes on google,cros-ec.yaml
>>
>> Changes in v2:
>> - No change
>>
>> Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)