Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp991480pxp; Wed, 16 Mar 2022 23:43:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymvQUPcnKijjQv8Gpy/2RiZ9lT0PpEiTY8jTZR9J8agBj7jkLkLhvqB4XY/RKBD45S30cg X-Received: by 2002:a65:5bc3:0:b0:378:4f82:d73d with SMTP id o3-20020a655bc3000000b003784f82d73dmr2553660pgr.191.1647499390463; Wed, 16 Mar 2022 23:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647499390; cv=none; d=google.com; s=arc-20160816; b=lQ2oxTYPIuhzU7i+GAsnF9VsV9tkLMQzCsolFW1OUuEZJtS0eCjf5NnA233a9QwGId 0d9um6aPYykOf6E4YB71Yj8cfewkJLHjqJamiUyDyG8eDs/OZOA46rGqNe0GGqrDVI1g 4wa1txUZ7aftVSaF4bpW81Bu4ms1scSXVImO4rnShVjQIc9aFUjUo50uWe0s+4tBuk66 5Lkhfnpu7BTQSwIdieag2SjMrC/pxux9OQuGFvLQzI/MshH/HLchgsV9W07EJlaaAika WlT9920/dvwTHTxMTpzxJFyOadPrXbnVs07Bv05qEjQ6tNMam19IW9Q7OveuUXdqUi24 OM3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=ZFBDPi3l8Z+/CHDubXV7NtTaEAM+Kf/xEPCEqPXnJh4=; b=SivuHiWkHSh5wRgqMBUPStYXT609iAm+Gk7MF7V8x9K6oh4raWnP6Q+DyuRiFYrv27 YIbAhGZeW2qBeGogPfnwf+2vsRa75d2scjr4yjs3PRgyAKgpu1QFXGHwtHYrlXjnj2QW CJl/eAyvIYmgGakM9axKFYh55WIL5MZjnXtwU1rJf7q0byLun0uZlHL7Cb9jc/o3igho JbtviBN/jAHqwcqtu/TdNKh2rTq1I3b/DM/6DZmuR446eMZb7fUoc0996kHBV6XKkRFt Z2EoSW8BNBXxKCeamprT+ZEer0F3UHu/hyeZXXaJg7wnxXZAl51FNdY1esGeLXBz6L/7 /6Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GEIAKuZr; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id t7-20020a656087000000b003816043efdcsi1250841pgu.465.2022.03.16.23.43.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:43:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GEIAKuZr; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1ECE12CB19B; Wed, 16 Mar 2022 22:27:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349692AbiCOPnI (ORCPT + 99 others); Tue, 15 Mar 2022 11:43:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244044AbiCOPnH (ORCPT ); Tue, 15 Mar 2022 11:43:07 -0400 Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5062554192 for ; Tue, 15 Mar 2022 08:41:54 -0700 (PDT) Received: by mail-oo1-xc35.google.com with SMTP id q1-20020a4a7d41000000b003211b63eb7bso24698966ooe.6 for ; Tue, 15 Mar 2022 08:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=ZFBDPi3l8Z+/CHDubXV7NtTaEAM+Kf/xEPCEqPXnJh4=; b=GEIAKuZrRS9P2BTEJhECuB23UB/Wri/ArgJQ2eTN8KocIKknHKG6zj39nZa7m6z2il +XQMlusDX98Run4yMGSF2qHAuL97T394pxZzYX+PbpuWiveUrxAbklGk+NLumUe07UqM W3KBReUa1Y7aYUPVGUecbzzareoHmusitcdEA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=ZFBDPi3l8Z+/CHDubXV7NtTaEAM+Kf/xEPCEqPXnJh4=; b=mqZWJJCBHAXWfDgASKilRBmZjVNg5M/euJElgyw7gBqM6Fc96kTzZFsvAxhmLbLY4x 15b+QIbeQ+9YO5bf+AYD5lC4Xu0UTvk/D5aylOxFeroyjJ7h0Fwi60xOMPGrzsSkqfzT OR8a1TMa0Q+QiTak03U/2gV8uX/w3lHBsvcMnlR1ppvj96mO0+LAUsV8nF2jC9WEoHqS nzan8BPcf9BF4foiFJL0oWZSlYRtx6AOV97juCZxkhOl49Eh2EmizHqcdV7Ex71EOyam kuP2KzZWGPvsVGA39urqKN23T50OobBT6qIYWLA5fNlnqG8qfbk3FCETvWn5wnr1oWUX GGiw== X-Gm-Message-State: AOAM530qs58Mz+7TH55Qz4pd7wsT2AFLL5NZvbnCeJk8btgYKAfVOdj4 GcE0duLZJrLaLNET/FSOI47e64XcYWsR/6TtGgbtuA== X-Received: by 2002:a05:6870:d250:b0:da:b3f:3211 with SMTP id h16-20020a056870d25000b000da0b3f3211mr1686818oac.193.1647358913320; Tue, 15 Mar 2022 08:41:53 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 15 Mar 2022 10:41:52 -0500 MIME-Version: 1.0 In-Reply-To: References: <20220314232214.4183078-1-swboyd@chromium.org> <20220314232214.4183078-2-swboyd@chromium.org> <9ec3c26a-3b85-4bea-5a5b-de9ac570cfca@canonical.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Tue, 15 Mar 2022 10:41:52 -0500 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: mfd: Add ChromeOS fingerprint binding To: Krzysztof Kozlowski , Lee Jones Cc: Benson Leung , linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, Rob Herring , devicetree@vger.kernel.org, Guenter Roeck , Douglas Anderson , Craig Hesling , Tom Hughes , Alexandru M Stan Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lee Jones (2022-03-15 04:30:49) > On Tue, 15 Mar 2022, Krzysztof Kozlowski wrote: > > > On 15/03/2022 12:10, Lee Jones wrote: > > > On Tue, 15 Mar 2022, Krzysztof Kozlowski wrote: > > > > > >> On 15/03/2022 00:22, Stephen Boyd wrote: > > >>> Add a binding to describe the fingerprint processor found on Chromeboks > > >>> with a fingerprint sensor. > > >>> > > >>> Cc: Rob Herring > > >>> Cc: > > >>> Cc: Guenter Roeck > > >>> Cc: Douglas Anderson > > >>> Cc: Craig Hesling > > >>> Cc: Tom Hughes > > >>> Cc: Alexandru M Stan > > >>> Signed-off-by: Stephen Boyd > > >>> --- > > >>> .../bindings/mfd/google,cros-ec-fp.yaml | 89 +++++++++++++++++++ > > >>> 1 file changed, 89 insertions(+) > > >>> create mode 100644 Documentation/devicetree/bindings/mfd/google,cros-ec-fp.yaml > > >>> > > >>> diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec-fp.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec-fp.yaml > > >>> new file mode 100644 > > >>> index 000000000000..05d2b2b9b713 > > >>> --- /dev/null > > >>> +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec-fp.yaml > > >>> @@ -0,0 +1,89 @@ > > >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > >>> +%YAML 1.2 > > >>> +--- > > >>> +$id: http://devicetree.org/schemas/mfd/google,cros-ec-fp.yaml# > > >> > > >> Why is this in the MFD directory? Is it really a Multi Function Device? > > >> Description is rather opposite. You also did not CC MFD maintainer. > > > > > > A lot of the ChromeOS Embedded Controller support used to be located > > > in MFD. There are still remnants, but most was moved to > > > drivers/platform IIRC. > > > > > > Please see: drivers/mfd/cros_ec_dev.c > > > > Yes, I know, that part is a MFD. But why the fingerprint controller part > > is MFD? To me it is closer to input device. > > It's tough to say from what I was sent above. > > But yes, sounds like it. > > We do not want any device 'functionality' in MFD ideally. > I put it next to the existing cros-ec binding. The existing binding is there because of historical reasons as far as I know. Otherwise it didn't seem MFD related so I didn't Cc mfd maintainer/list. New file additions don't usually conflict with anything and this is in the bindings directory so the driver side maintainer would be picking up the binding.