Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3164558pxk; Mon, 28 Sep 2020 09:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeer6J4jYPsTIRkDSnV1YMvU17URsRkDg4sqPvJb/rvbci1UyI5co+9Dacx6rkByx/Xs4F X-Received: by 2002:a17:906:3791:: with SMTP id n17mr2509938ejc.216.1601311952428; Mon, 28 Sep 2020 09:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601311952; cv=none; d=google.com; s=arc-20160816; b=FyjpSpUY7VAPHxc7PlRxTDgjIG/9Dx3MYMGHHtUM1qgTlz41m+pX4RxdrXdVeS+Dfz DkSVWEIG0laQG02RWyD3pPVwkf0/7Ch6BhAJ79xwcdJdGmnd4UlZUU9Fw67pRlV7ZLe6 96/RJLp0zT+DL7M0i/CqHIP4HLB9yYwxaeIrbFhYw6tZwI6W2xY58MDKqcgeIF56byxw WW/9CEdFJFC/+ALZhx16f4WX0c45+4EE3+uQ+SkEMK8WszMw+Y3HC/hepYCAcVONU3mN pjB2pY0MFJbSeCsWcMJrrygwmRTjjS2KMh2jHkLlFVqQCPTKznghJpPNHZvTx1rH9Soi QP/Q== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=OjaO7kUDshEkXyX/sIanQwh9RsbMzawXkJFVu2Elacw=; b=VVElx+erjA6RMfLql2Xuc7I/I6USd1IImHB05IuYgLMjm63sE3uGOECfxNPv6IItWh MHLYiAW247D/4Q32R7fm/Hk4dRlXegar2aMAvHnSmKD+Kyf61oc8QLwQ/bg52wPF9G3l 1deqVohUQY4TBTOyZP91gNV8+9Uh0Le3ti0vIRwxNLWwml4KUNxqaq/c02gN/Iz5m/Xw xxmp5LYc6681DNn18OPEwcyWpWrXL7ALcGAxIqvKxI0S8FjpKt/FvikPTZdcU0VuUaeg pGNrtZXzTFHQtM5AlhRUiGyqnAh7yND5gTRHfmltK6ujEPaI8nScnUKvpkROvZLvW9iu MhNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BOQKe+ZZ; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf8si981965ejb.197.2020.09.28.09.52.09; Mon, 28 Sep 2020 09:52:32 -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=@chromium.org header.s=google header.b=BOQKe+ZZ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726899AbgI1Qtq (ORCPT + 99 others); Mon, 28 Sep 2020 12:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726578AbgI1Qtp (ORCPT ); Mon, 28 Sep 2020 12:49:45 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE509C0613CE for ; Mon, 28 Sep 2020 09:49:43 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id lo4so9492100ejb.8 for ; Mon, 28 Sep 2020 09:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OjaO7kUDshEkXyX/sIanQwh9RsbMzawXkJFVu2Elacw=; b=BOQKe+ZZ13ve03VzZj6TWYxlDnAhDhd6J4X/++n58Bn9kjGDh4BkGap7yChnaVQsFA slKF5YRlSNSPx6F3iB4RICABtFrb/de4KEsnT4e1yDwXMOCtD/Tq4UN8tBXACn0pziet ovkON6pPO40sy1O5XKRrymtshV1Lm12f3u4m0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OjaO7kUDshEkXyX/sIanQwh9RsbMzawXkJFVu2Elacw=; b=ZkmHLCHtrLLiMWVMfUrPgVza2kA0QADda8LMmLMNVn4a4BG7WFql19CxY24rCY47Je xDd4s16yVJPO1quaqAswOjvuPfckeaNrpD2QaCTRhdY6L9Bs6jBTmtYPyabAj4MEfIXV rlp9ApyCuGgjg90SwceKpDdo+x+5UHyMyOx40Xi43cDg2Z4gU3eGBi0tJ3DBcH0/dheh iDx+scOgS0v+ZOPAvzFbwevS8M+UiiHaszowIUDaWb2kOZfGR/mYytnoHodnGWqqJzHr bb7mib1Xe1SJeySis5TObjmKEDfOY0uCZEsfnCDmUUxZNLz1srV0nPnE9mBfo3mhbY2/ 4stA== X-Gm-Message-State: AOAM531rM3tnKauA3DxWEZwsdDyPdYgUDunnCiudERSGC12VD3Ci9v7F K3A4kb+uNxcWn+sogMDTw80/ewqB9RHKVA== X-Received: by 2002:a17:906:1484:: with SMTP id x4mr2438014ejc.81.1601311782184; Mon, 28 Sep 2020 09:49:42 -0700 (PDT) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com. [209.85.221.44]) by smtp.gmail.com with ESMTPSA id dc22sm2059960ejb.112.2020.09.28.09.49.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Sep 2020 09:49:41 -0700 (PDT) Received: by mail-wr1-f44.google.com with SMTP id w5so2107540wrp.8 for ; Mon, 28 Sep 2020 09:49:40 -0700 (PDT) X-Received: by 2002:a5d:660f:: with SMTP id n15mr2859213wru.103.1601311780342; Mon, 28 Sep 2020 09:49:40 -0700 (PDT) MIME-Version: 1.0 References: <20200903081550.6012-1-sakari.ailus@linux.intel.com> <20200911130104.GF26842@paasikivi.fi.intel.com> <6dea1206-cfaa-bfc5-d57e-4dcddadc03c7@lucaceresoli.net> <20200914094727.GM26842@paasikivi.fi.intel.com> <20200926123807.GA3781977@chromium.org> <20200927193900.GA30711@kunai> In-Reply-To: From: Tomasz Figa Date: Mon, 28 Sep 2020 18:49:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 0/6] Support running driver's probe for a device powered off To: "Rafael J. Wysocki" Cc: Wolfram Sang , Sakari Ailus , Luca Ceresoli , linux-i2c , ACPI Devel Maling List , Linux Kernel Mailing List , Greg Kroah-Hartman , "Mani, Rajmohan" , Bartosz Golaszewski , Bingbu Cao , Chiranjeevi Rapolu , Hyungwoo Yang , Linux Media Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 28, 2020 at 4:18 PM Rafael J. Wysocki wrote: > > On Sun, Sep 27, 2020 at 9:44 PM Tomasz Figa wrote: > > > > On Sun, Sep 27, 2020 at 9:39 PM Wolfram Sang wrote: > > > > > > > > > > I think we might be overly complicating things. IMHO the series as is > > > > with the "i2c_" prefix removed from the flags introduced would be > > > > reusable as is for any other subsystem that needs it. Of course, for > > > > now, the handling of the flag would remain implemented only in the I2C > > > > subsystem. > > > > > > Just to be clear: you are suggesting to remove "i2c" from the DSD > > > binding "i2c-allow-low-power-probe". And you are not talking about > > > moving I2C_DRV_FL_ALLOW_LOW_POWER_PROBE to struct device_driver? I > > > recall the latter has been NACKed by gkh so far. > > > > > > > I'd also drop "I2C_" from "I2C_DRV_FL_ALLOW_LOW_POWER_PROBE", but all > > the implementation would remain where it is in the code. IOW, I'm just > > suggesting a naming change to avoid proliferating duplicate flags of > > the same meaning across subsystems. > > But that would indicate that the property was recognized by other > subsystems which wouldn't be the case, so it would be confusing. > > That's why it cannot be documented as a general property ATM too. I guess that's true. Well, this is kAPI in the end, so if we have more subsystems, it could be always renamed. So feel free to ignore my previous comment. Best regards, Tomasz