Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3476813pxu; Sun, 11 Oct 2020 11:04:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk+BCNBWR5nLM0C5cCFtzTvERa5ewccmkv6U0KYSrMLaUeeyfyN8aGmApIcvV3cR4oqOZp X-Received: by 2002:a50:fb16:: with SMTP id d22mr9889792edq.255.1602439475187; Sun, 11 Oct 2020 11:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439475; cv=none; d=google.com; s=arc-20160816; b=recw7hEO7w3eJ4vg3xXv+De5/H0bBMpcGkK9eVexrtg8pmINDKATuDg+MW9mCOhl8t MXNSVTJ7F5v/u94qdHkMrlMYpGlow9jUehx0aQFpMIoALX0l90NqXnFJfR/xHwVqQU1t 5GD1eMKvX6gj/0ywZRwGmLYkDJX5UgAyuoZNRY1Gr3rqoUSuq3ZQrQlFQ+iVX7WG9vOL zPe99OjGBtNhgh1RAMaqVX/Qe16dya39kFb9/vvYlQdEe5L6naFynnoaSDGuJosMyE42 wwtXq3LYEKSbeSSh0QO6YfseOunycCY8iyRljsfST4IKfo7l512uqjmSyKsiWg63uykD qgAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=zH6YQNARUBC9KCEHXqbbRkhkj16QjmVxE6UhGyEmq2g=; b=KgrIlW6sdKM4PSe4iERf+eseX8wxi2+7hR6DlOWFixhypTNTxZ6WIm7RQIJYu9mOJY aqg/kVbOySOBTdr6NDqpH0agQ9Sw81U/m6mq+kHpZ8kqBy3B1zNXjWHzX14F8craexAF woKef1hRcjepS+DB9B7SmIN+3vc15g1Xtc72T6+Bun19gEPtI3jumVig/Kte++Qc+W9a tChVHSvu8Q43IsFVucuOUIsTiiestGT8VVISAvi78K71jEq4WYNhabb6IlE26u4i4Z+n PNr2wwtAddkqDrRQ4IDHf6waxpuBWOmodENuz+cSoy/K1hEMuxvVte+fqw/UXp0iZF9C mYiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si12359599ejs.91.2020.10.11.11.04.12; Sun, 11 Oct 2020 11:04:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387733AbgJKL7Z (ORCPT + 99 others); Sun, 11 Oct 2020 07:59:25 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60526 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387690AbgJKL7Z (ORCPT ); Sun, 11 Oct 2020 07:59:25 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id C04021F4426D Subject: Re: [PATCH v6 2/2] dt-bindings: mfd: Add DT compatible string "google,cros_ec_uart" To: Bhanu Prakash Maiya , LKML Cc: Raul E Rangel , devicetree@vger.kernel.org, Benson Leung , Duncan Laurie , Guenter Roeck , Rob Herring , Eric Peers , Furquan Shaikh , Lee Jones , Rob Herring References: <20201009132732.v6.1.Ic98067cd92a0b7fed9cd3dfb7b4e736e76551cda@changeid> <20201009132732.v6.2.I8d7530d8372e4ef298ddaaaad612a2cdd24ed93e@changeid> From: Enric Balletbo i Serra Message-ID: <8cfa923c-cc7a-6dd3-9541-8a18b98091b7@collabora.com> Date: Sun, 11 Oct 2020 13:59:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201009132732.v6.2.I8d7530d8372e4ef298ddaaaad612a2cdd24ed93e@changeid> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bhanu, Thank you for your patch. On 9/10/20 23:01, Bhanu Prakash Maiya wrote: > Add DT compatible string in > Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > The problem with this patchset continues being the same. You are using the trick of using a DT compatible string to instantiate an ACPI-only driver. You should have an ACPI ID for that device or use a DMI table to match the device and instantiate it (see for example the platform/chrome/cros_ec_lpc.c). Thanks, Enric > Signed-off-by: Bhanu Prakash Maiya > Reviewed-by: Rob Herring > --- > > Changes in v6: > - No change > > Changes in v5: > - No change > > Changes in v4: > - Changes in commit message. > > 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(-) > > diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > index 6a7279a85ec1c..552d1c9bf3de4 100644 > --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > @@ -10,11 +10,12 @@ maintainers: > - Benson Leung > - Enric Balletbo i Serra > - Guenter Roeck > + - Bhanu Prakash Maiya > > description: > Google's ChromeOS EC is a microcontroller which talks to the AP and > implements various functions such as keyboard and battery charging. > - The EC can be connected through various interfaces (I2C, SPI, and others) > + The EC can be connected through various interfaces (I2C, SPI, UART and others) > and the compatible string specifies which interface is being used. > > properties: > @@ -29,6 +30,9 @@ properties: > - description: > For implementations of the EC is connected through RPMSG. > const: google,cros-ec-rpmsg > + - description: > + For implementations of the EC is connected through UART. > + const: google,cros-ec-uart > > google,cros-ec-spi-pre-delay: > description: >