Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2569169pxk; Sun, 27 Sep 2020 12:46:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQlxb9SWiO2+JYo5sgY98Sl6v5GAmUiHQSvSKII2Tkf5vsNfeSf6C7zRQYj/PVW6tGt2i+ X-Received: by 2002:a50:8045:: with SMTP id 63mr12677206eda.24.1601235983428; Sun, 27 Sep 2020 12:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601235983; cv=none; d=google.com; s=arc-20160816; b=KBOMIz8Nq/ei/CLJMtjrk15LK0XbVf40iCoF0BgYu4B/ZXIShzpAugTYXqDS4w0sr8 Zk5m1gWOZddQkVeqAtTNtDQ9ertWvWoYiZQF4RFR6xqpcL9QF8HncCvJSdLArlC5n3rb du6YxiPHku6pbjafTRlCUnxWE1CvID1+bEfVU7c3c0U7uwZFQ+gghX9848vjMuO3M8Zq ViJb0Y/zczT9ksO8xlcvvJSDpmi9iwQR9es+0/EotggMTJO52NDi+mhr+m1Ow8vIyzMp kgiibaE1Hz6jKFgSFk/23606Z1nl2dcwGeu9OIN/lKgCMkWrxOoezM/qPeFaqtbNT1Hq F+Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7byhznMTDMGNZWyHHBM3w4db+dAkh5PJbFVolAq7xGs=; b=MTuVxBQtdpe+j+Ms9PEcuqv9XOkgz7cQW92yINWk9S/uHP+g7xvTJz0JII0OZbL7OG 3wiQrTe8F9lYRt1QFhZ2fiR7VbJbsEF8yUdC9594H1JhmXhO/Hhu2xh0KRu/zQ4VOoCp Z5bMyGgbqUo/IQKyy2qi9XET9G+xObkFl2kwEJMD69fwQ2yRwIglAI/h66NUy9t7fFN+ UUm/JcqKwZvN8lEPXkKjP2Sw504BmVPQnpW/KbvWLpCfKMiaBI6MnH8GCs9yo0SuNVOo yhxdjbYUxpj+JIeupsWNq4EGbyjUhXAHkoSsLdXP1lkW5tQrdSL5dRmr44msPwojGDgI a63Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XL9bbz2O; 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 i25si6383365eds.204.2020.09.27.12.46.00; Sun, 27 Sep 2020 12:46:23 -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=XL9bbz2O; 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 S1726314AbgI0Toi (ORCPT + 99 others); Sun, 27 Sep 2020 15:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbgI0Toi (ORCPT ); Sun, 27 Sep 2020 15:44:38 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F18EDC0613D3 for ; Sun, 27 Sep 2020 12:44:37 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id a12so7674833eds.13 for ; Sun, 27 Sep 2020 12:44:37 -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; bh=7byhznMTDMGNZWyHHBM3w4db+dAkh5PJbFVolAq7xGs=; b=XL9bbz2OVNOBaK4lzhkkFWRXVTJdIeeEe3fV4JrdrDk5RMWSM5q4fm+HPV88TQDmjg Qaw7IU/gSAcEcL0J5tjDdo33ic7AMvm/hm8Zdtsc6G0cfhySFoGp65ZXaopI0oJ3iQsJ skGeiqApTPUpUkpd8ki9nVFrLM3W5S3/lUEVg= 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; bh=7byhznMTDMGNZWyHHBM3w4db+dAkh5PJbFVolAq7xGs=; b=dNpsC9EwGv1nt4/Jz3e2hS2rWw47KeSB52/lqrsDS3dfozuODV8J+37p466jB9JHXh UgtJKYYlxclaLR2n+YjLOvwG38fA3DCEu4v8HS16X6EWDeQJB4sAcT57FD6q1KnrbFjC 24v6VB9f7V1Fd1eLLMmeGxJmZfilsdzvalf6Z+RgzZa7g5ikk6jY3GXS10LqMSaE/noc ty6IbXqmH2vPCR5JRzwjSdvwA1ReAc/42WtxbbIWc27935yUR1aOOzq+qQTEBuyojBhT NOcT7sV7rprGp/vQ0HAg/L7mlNkXNPBPZcsU//TR4Qe5ZiypdBUpYnc8DT4wT/a2GDUn /0gQ== X-Gm-Message-State: AOAM530E/nK0gMITruKvB+1RB7tE7bFoyijfRnwKqmS/TcQCwX5D9pHG pkial4yL47g1gej/ZSd5QGViT5pYlCMAFA== X-Received: by 2002:a05:6402:1fb:: with SMTP id i27mr12709505edy.379.1601235876459; Sun, 27 Sep 2020 12:44:36 -0700 (PDT) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com. [209.85.221.52]) by smtp.gmail.com with ESMTPSA id i26sm8241954edq.47.2020.09.27.12.44.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Sep 2020 12:44:35 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id e16so9600439wrm.2 for ; Sun, 27 Sep 2020 12:44:34 -0700 (PDT) X-Received: by 2002:a5d:6552:: with SMTP id z18mr14720929wrv.32.1601235874347; Sun, 27 Sep 2020 12:44:34 -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: <20200927193900.GA30711@kunai> From: Tomasz Figa Date: Sun, 27 Sep 2020 21:44:19 +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: Wolfram Sang , Tomasz Figa , Sakari Ailus , Luca Ceresoli , linux-i2c , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, 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: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.