Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp839295pxk; Mon, 31 Aug 2020 02:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyulHdlYva5MQUhT0UTMP6s3oWXhGeWXu1kwZzDSRF6CFH+EpnYFC/g98hoOQmfeMSD4PFk X-Received: by 2002:a17:906:2717:: with SMTP id z23mr289576ejc.19.1598866340157; Mon, 31 Aug 2020 02:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598866340; cv=none; d=google.com; s=arc-20160816; b=0I93dJ5vEkobjJFIu/zCmwJUh2nU9j41xEGjfCOIQdHP7gcCffjfAmtb8us2Yt+VtB OpdAz31pKMkA27C16WqNtYw98gLQaPZUCiCNvtdBe8vSwhBtllEFuDno3o25fgBuO4tp bIKOPrCV5J114FxYs1WI7Zty+NBZokqZ9omwhG+wteW736+wow79ajZxTNlfmanK/o8P qUPdJCLRJJTMAM887kDcY1YSPAAn42Z93kWCoHFUNotSmQ1K98AfXd/YL0RoR70z/Kl8 oqlzRV6bacwPCUakctowaQ05Qcjo9AroaeANvWq36eeMST2EfYzBNPl1aa6tr2oSvCXN UucQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=ySH1+6Jh9ju1pBcBa/0k0ga+JwPla8k1WrClPUf5np8=; b=ot7yjT1t2S9CGK7P0Mvsu+16aIKTS93EWcotavDAk3S8vkcrF+jxSHJnV2GN/qK67f vIqCsljRe8GAF6GnCiW7Te+ybkKS3/NNJmdWa+MEnh2N1Z1KWK+sjyFR/g1+GSEORe5U n2CJ7jp72gKfzD/7RAKDBSNmfAxe9vzDn4F8iM8Vi0uvVtiQa+7jDcSMfT5Ki1ntm8SK PK1DzQ+wkDyu7hg0m7nv6hBf0lOFImS6xrx/hj+Oc2rccqplVf+E/LLwVmip30NOHKFS SCDzLk/VBMnhp3lgkILZixip8Wk1E/yfrgQWCNsLViMxKqBIQk44waxqctUlGIkTZrJi AS3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vHClRnfo; 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 u16si4445593edb.359.2020.08.31.02.31.57; Mon, 31 Aug 2020 02:32:20 -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=default header.b=vHClRnfo; 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 S1726224AbgHaJbT (ORCPT + 99 others); Mon, 31 Aug 2020 05:31:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:34770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgHaJbQ (ORCPT ); Mon, 31 Aug 2020 05:31:16 -0400 Received: from localhost (p5486cebe.dip0.t-ipconnect.de [84.134.206.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D0D5F206F0; Mon, 31 Aug 2020 09:31:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598866275; bh=ySH1+6Jh9ju1pBcBa/0k0ga+JwPla8k1WrClPUf5np8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vHClRnfo9ityhzCccYkxwWCz2GkVHT13yIVpkskiFJXqqRZUoN/1f1oR40GHaOavL 0LdkkH6jRdCutfHdxwZg/pwLStkt4MOXuJhtlXimuNAJcxRdwavi2cKmFDAVEUAzaR 3lGnw5cgeF6a82A2U+Ru/NAkeUYboJR4IrakiQzE= Date: Mon, 31 Aug 2020 11:31:09 +0200 From: Wolfram Sang To: Sakari Ailus Cc: linux-i2c@vger.kernel.org, "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Bingbu Cao , linux-media@vger.kernel.org, Chiranjeevi Rapolu , Hyungwoo Yang , Bartosz Golaszewski , Arnd Bergmann , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , rajmohan.mani@intel.com, Tomasz Figa , "Qiu, Tian Shu" Subject: Re: [PATCH v6 1/6] i2c: Allow an ACPI driver to manage the device's power state during probe Message-ID: <20200831093109.GA4632@kunai> Mail-Followup-To: Wolfram Sang , Sakari Ailus , linux-i2c@vger.kernel.org, "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Bingbu Cao , linux-media@vger.kernel.org, Chiranjeevi Rapolu , Hyungwoo Yang , Bartosz Golaszewski , Arnd Bergmann , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , rajmohan.mani@intel.com, Tomasz Figa , "Qiu, Tian Shu" References: <20200826115432.6103-1-sakari.ailus@linux.intel.com> <20200826115432.6103-2-sakari.ailus@linux.intel.com> <20200828083832.GE1343@ninjato> <20200831082305.GD31019@paasikivi.fi.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <20200831082305.GD31019@paasikivi.fi.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > This patchset is really about changing the default of ACPI powering up I= =C2=B2C > devices. On OF the drivers are indeed responsible for that. So, maybe it makes sense then to move from 'device_property_present()' to 'acpi_dev_get_property()' or something alike? To clearly tell this binding is expected to be used with ACPI only. Then, we can skip this discussion now and postpone it to when someone wants to use it with DT. Which is hopefully never. Or does this approach have drawbacks? > My original series had a field in struct device_driver for this purpose b= ut > Greg K-H suggested moving it to I=C2=B2C instead: >=20 > Ok, we can still factor it out in the unlikely case it needs to be done again. I still have the question via which tree this should go upstream? It is probably more I2C than ACPI? --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9Mw1kACgkQFA3kzBSg KbbvUg//ZGzzxNAg3XIfseLb3DTZeNc9KriLfOkTeI5xVft/KknFffM2O7EKtywl W/QFoIAt2CeNwlc3Xn7Gr4H2//L0FFa4UZv9pjpIUSCo4h6PQpre24LpGSaj104h IK4qLm2+1GqeA7OUQiXdjz9To98pw//VcJ0crCL3s+ymNiC2oTr/nwRAiRILmzrZ lDYPrtjoeL1NPHw/SCMh6Ga3bOFTsG7pkiNeXgdAigf79hE5GqpDVZ+VxOAGb3Xv WH0FKsHA47zBQGa8Hp+tf9FrCwtLN75GF1VuqqXrRxmHeFHOn/lHbg94d7NXkhZh RrL9TTRa1SMRnxJjc3Gn8usXw3W/xIa+CMLjyC6oxqzMMRr20qrfxQLPMqmxlMnK 4+CC5cslBZNQm1xSeI3eqF92sTkViVxCFudNAfQwl1FlTGYciW5j57wRQT7qqGl9 aAvrPBc1IyK87N95Mse7Cw8B/sIlws36nPqG+xPdf8sSZv3RRgpB3XZ8t7jId5bl IzEXhVmZo63xc/4TV5Wl85FVAbWjkJBNZN7C0rVfTDJ/Cvn9Mlzt7FPuOyMwPddf zuWpnRFjUolq26i/kMQn2mUs9dhzFxvU4HZT+JdYmg1YaLWPHxd0m7QmhFcS1Ksc Pp9XiT6UQd/LlOLMgO8gxhTiLUlf4Ssa2+Rcs6dFgMzIEG/FFqA= =uxY3 -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--