Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp423859pxb; Fri, 16 Apr 2021 08:54:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMMd1A/I+RDUN6lCu+gFIzEpFXF8D/zI5vcBtcSi7rZ1x5GmqrdlkV9OzQHV8NkEmFBFzA X-Received: by 2002:a63:1125:: with SMTP id g37mr8587093pgl.56.1618588453022; Fri, 16 Apr 2021 08:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618588453; cv=none; d=google.com; s=arc-20160816; b=zmn0Lqya2nm+PaSKz9uYRmvnBAIijky96QFymx310WocGyQApXez+w2e4vChrmQYIr SNwtZsQZTfSB17yCltA8USy5MxKUAKGsr2BsqlFvvF403iMoRWp65iyNmM1+ZKlGvtUC xPZ+Nl/M5WXdiim3t0T8FE4JqPeTfDccDLOnzXUiwTiN6SJ6spxRYjcZX+kiEZqXuB5s +czSxJLhuwWkOTSu8L7qwS9OZmcW4/mKlPPHIxrNQwqFVlZat0BTYe3nsCY+NsJFjRoD SmOCkFDSrg15q1owLRIdnMystMonUzSOzoboCnkwGm/KrgaxQzDvumencKUMRyLH70xi C55Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=abF5o0XAaUAk+mrc4ilXCHX0ORJmS6yMrY7J+4bvnH8=; b=NxilU8oq60zw73g69x0lI1wb+WmiXBSKgbPlpFnxzZ2Sh0OSXzfeWaUBNCak43ryYB +7NHrDs2pSVu4eXlY76u90Q8BQIPZNXtP6S//WntSiSOFrJrsXQ1hf6EypqTBFI8RVsP qtPGmUp2IRWqnHlzXKsUrRGjhT1+q0zcDiKUtbTEOVvm/t7WtvI7SaViUh3QX8IMdO+1 NzghgGjnGeAvQsYL7X5TaDHVcP6Ap8tf55h1Qs15JpPPSTEwLAjstHhFc3709BMmvwTR mkH8175dUgC9jueomXrWhjrPxehI/nZ2d7n1OrV+crUfopLdM0fRrkFcKgyz7FwHkBN8 bKAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VzLXW0bt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y22si7058316pju.8.2021.04.16.08.54.00; Fri, 16 Apr 2021 08:54:13 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VzLXW0bt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243917AbhDPNap (ORCPT + 99 others); Fri, 16 Apr 2021 09:30:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:43802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235011AbhDPNal (ORCPT ); Fri, 16 Apr 2021 09:30:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6EDB4611AB; Fri, 16 Apr 2021 13:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618579816; bh=n9xmFN2NsaASWbiOf1tjXSrysPr4eQ8p8Daqq/eQqzI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VzLXW0btd8iMCdR16X/ODd6jzYF2rBVrRWHEtPAB8wfNKf2U2Lx3wHtrHI6efxbLb 9pEbsB6Lwp5gYD7UfLl5dBRx57lyC2RyMtU2RF7jZtDzil0ovv6rSzC3r6jsO6A2gW QaDxbIC7zAYlv93wEngg/rclzoVVWP6/Wu+yhm8nDY3zB8fuEv8T1i2vC0Shqn6Evd jgXqShtryKm22DTQC63oRLEcXmJxrdslhq58LKXMS823acjj9d8E7miF13AM4bk7Dw qOjyHJs4NtdsWbQ6hK91pKVtcd4ZA3WJm7mHhFFOCwdIKi2NyZjBxvMejJijPphbZ1 /L1nIpWGNhnHw== Received: by mail-ej1-f49.google.com with SMTP id x12so21386493ejc.1; Fri, 16 Apr 2021 06:30:16 -0700 (PDT) X-Gm-Message-State: AOAM530Z3nT6xCfEXgElRw8u0+5WRJ1QwtHYOBWJU+0GIG1ahIprpW6y vQ3VagzT+NQEzIdhF4/6f5m7PNrpzjRCZPARTA== X-Received: by 2002:a17:906:9ac5:: with SMTP id ah5mr8145109ejc.360.1618579815055; Fri, 16 Apr 2021 06:30:15 -0700 (PDT) MIME-Version: 1.0 References: <20210415032958.740233-1-ikjn@chromium.org> <20210415032958.740233-2-ikjn@chromium.org> In-Reply-To: From: Rob Herring Date: Fri, 16 Apr 2021 08:30:01 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 1/2] mfd: google,cros-ec: add DT bindings for a baseboard's switch device To: Enric Balletbo Serra Cc: Ikjoon Jang , Linux Input , devicetree , Dmitry Torokhov , Hsin-Yi Wang , Nicolas Boichat , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Lee Jones , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 12:37 AM Enric Balletbo Serra wrote: > > Hi Ikjoon, > > Thank you for your patch. > > Missatge de Ikjoon Jang del dia dj., 15 d=E2=80=99abr= . > 2021 a les 5:32: > > > > This is for ChromeOS tablets which have a 'cros_cbas' switch device > > in the "Whiskers" base board. This device can be instantiated only by > > device tree on ARM platforms. ChromeOS EC doesn't provide a way to > > probe the device. > > > > Signed-off-by: Ikjoon Jang > > > > --- > > > > Changes in v5: > > - Add missing blank lines and change the description property's positi= on. > > - Add a note to description: "this device cannot be detected at runtim= e." > > > > Changes in v4: > > Define cros-cbase bindings inside google,cros-ec.yaml instead of > > a separated binding document. > > > > .../bindings/mfd/google,cros-ec.yaml | 20 +++++++++++++++++++ > > 1 file changed, 20 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml = b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > > index 76bf16ee27ec..8dcce176b72e 100644 > > --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > > +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml > > @@ -114,6 +114,22 @@ properties: > > - "#address-cells" > > - "#size-cells" > > > > + cbas: > > + type: object > > + > > + description: > > + This device is used to signal when a detachable base is attached > > + to a Chrome OS tablet. This device cannot be detected at runtime= . > > + > > + properties: > > + compatible: > > + const: google,cros-cbas > > + > > + required: > > + - compatible > > + > > + additionalProperties: false > > + > > patternProperties: > > "^i2c-tunnel[0-9]*$": > > type: object > > @@ -180,6 +196,10 @@ examples: > > interrupts =3D <99 0>; > > interrupt-parent =3D <&gpio7>; > > spi-max-frequency =3D <5000000>; > > + > > + base_detection: cbas { > > nit: Rob, shouldn't this be just cbas? Yes. > > > + compatible =3D "google,cros-cbas"; > > + }; > > }; > > }; > > > > -- > > 2.31.1.295.g9ea45b61b8-goog > > > > Acked-by: Enric Balletbo i Serra