Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3055903pxk; Mon, 28 Sep 2020 07:20:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEm7B30XOypYqUsiEn4a5xBh6DY8B4h4fp9n+LOrqy3hip8oO5JLD7DVW/eOJeoGAPQVM4 X-Received: by 2002:a17:906:a156:: with SMTP id bu22mr1964310ejb.177.1601302842002; Mon, 28 Sep 2020 07:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601302841; cv=none; d=google.com; s=arc-20160816; b=taG2Qa10Qek3/snfR4FCOlHFuq0dzyab3nWpFKNGENLqZVtYk3GlRtCSrkbCShwRAp H4QiY1YuxmTniWyUZ9Ev9OSphDs3iZv+uVWCyfzil3kWYQMqTtSF2INmQRrRNmHOKS7e 75H2ymiwegIfiDjkcp/u9ihZrHR4hP4LReEVdzOnw1upYgGakuLrwEEsFiCgz18heFzf 8Y4/u5LYw53XTD90xvFW4d5kwJSP9hcTkQHdwhvtpEawjUdiW7vYedSZqQSqmdWMbtNw MDdWJ/MRJm4bZV2nGCYZRrrSiqGDPjwI2M0YJflS+c+qK+0TT7sk6P4UNG9nR+m2yXUS BJ1g== 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; bh=n0SDEJiGHKBMiTQJpDhH++PpVZUE8wCtPQdFHZ2pW3Y=; b=mw1v5bczKgl+vDmXtIB2HRXsj4/YRS4JoO4tHHBu5k4+6pF0+677SYBvAB4Qt4UNnU kSqi4Xqj6BZuOr5Nz+iLE8sAtBn9MHrvQ9DxAH//HFasE2vr2clVprC5BtsFodRV/ex3 adTUtP1o7kPSfIXk8rd9t7coNyupyzscZIglRkkSAltiwgmaQpV13LMiVVPrg+G+5BaA zHO2FiHW7bhLySBfGG2V2/tnuANcZ5Hk4x4h6GCG3qEPdNQoDKN6v35a25s2kyWGpuke w4knj3d4vZOb+iTDQxt1sMhIC2Tj1KiM0zoBL+tkJSZDBBrHZmFAx6If6sabgIfbK6HW cGJQ== 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=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 a25si647990ejx.145.2020.09.28.07.20.18; Mon, 28 Sep 2020 07:20:41 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726596AbgI1OSC (ORCPT + 99 others); Mon, 28 Sep 2020 10:18:02 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:38329 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbgI1OSB (ORCPT ); Mon, 28 Sep 2020 10:18:01 -0400 Received: by mail-ot1-f67.google.com with SMTP id y5so1053038otg.5; Mon, 28 Sep 2020 07:18:01 -0700 (PDT) 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=n0SDEJiGHKBMiTQJpDhH++PpVZUE8wCtPQdFHZ2pW3Y=; b=Ka81PzCmBX2fVD7A+82y+0iF4vTzQeEq6t3TycROq/IlHxeD8GqaExZb623uDgA+jT hR9cVsF7rwuJ64i+FfEXMir+MPJKRPuAi/5CNBeAAlPkNJ7sDggQZVzIbOhPX8TNNGyo rAZ416tqqAk80v5ZlrYcEqiAPWs8/OHJMNOg/3mPiXv5xkXhssoHCfTXJC6gVoaVRWGb GnDkXsKwru3004DtcKQ7kWHDl87z1o68OOMXVW4TnXtaUYb77nxrg7KKUYkKrPDduY6V vRjmpkWEH8t0UewNlILHHkeMshqZsBO95L+7BL9JrK+AOdW73Hlr05E0nDiXoxZk+Dc2 eBZw== X-Gm-Message-State: AOAM532dP78vhbbdYRz1U/4mxx4wugI1Y/9ugc4RmtVcUn3QhdFC/EGj HJjdA1lC3NDfIntJtqlYI6yT9+TkZaRunl0kEPQ= X-Received: by 2002:a05:6830:1f16:: with SMTP id u22mr1078670otg.118.1601302680861; Mon, 28 Sep 2020 07:18:00 -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: "Rafael J. Wysocki" Date: Mon, 28 Sep 2020 16:17:44 +0200 Message-ID: Subject: Re: [PATCH v8 0/6] Support running driver's probe for a device powered off To: Tomasz Figa Cc: Wolfram Sang , Sakari Ailus , Luca Ceresoli , linux-i2c , "Rafael J. Wysocki" , 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 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.