Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3216524ybc; Mon, 25 Nov 2019 10:48:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyGy8k0Kp/a+OfaKEMlvZ0Y6ZYz+uCYM2j/KRtwPNR32f3ikBI1MHEjY9BJmgE9kyK6ZR/U X-Received: by 2002:a17:906:80c:: with SMTP id e12mr39146500ejd.59.1574707689914; Mon, 25 Nov 2019 10:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574707689; cv=none; d=google.com; s=arc-20160816; b=oAtqxjdCsgbewpbjHVMpYjZIFacWaaOeoEgolKyBTIVvysDubQTmYEORUu1+KWBOBe YE+Qx3KET0toLROy0Y3xJDibd1+WSBJSTag56Hd0Vdqcu/yomdR2ssrimz67d2thQaWs RaFeq7ShwReuebfwj35oN8hmvE9LlN7ewpd7fbnya1DQtfnvu+YCOFoESbStURT0t1jG 08s0/2FyiPl8RWrHO9gokYMgMLfTc0VuMDF4JICOfmNtC+cSS/2GkhQdNi4AsIGDCl87 QKaH/dD2etQ1NuCkBIKOZER0nU1eJ/EXfTigf+Slkxhd853QWyvqomT0S5GdLfPvM5/U t3+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=+PSPSJvcK20MIFsQDyj7gJZhV6peRvSNuS6dXXjpzjY=; b=pwyo7hoNlrZrbPVIXPSeSxFdnlrTm+dOtf8UyCiUzA2zX38AADD8NZN7Ym/pUQZssI Y1ve9Jo7MD7rqzYeTF4OiK/8rmYfIkW6+yBzeD5mY6kD+Qb5RaTAuLzu7Lraqcv7j3CR yg/hHJgvdbThfOHUsnbCivarTKir0SOgAiIku9rC7UVTq209S/EkW8X3GsAVx8ndODwI USmzeKwIcoAxKG0Oj7r8gCpbAdD7CmTAGlNDnkkLR3/eb7LkRg44Hx2nTjaAMjlrfcPh ZAwNgfrkgjNZmR8JQyx6FeaCQxuXA5o8w/i61BFI/dn51XRzIGlcZocF3WaiQm/PD94r dR5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si4976535eja.13.2019.11.25.10.47.45; Mon, 25 Nov 2019 10:48:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728771AbfKYQGb (ORCPT + 99 others); Mon, 25 Nov 2019 11:06:31 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60082 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728533AbfKYQGb (ORCPT ); Mon, 25 Nov 2019 11:06:31 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 83B382901A0 Subject: Re: [PATCH 1/4] i2c: i2c-cros-ec-tunnel: Pass ACPI node to i2c adapter To: Raul E Rangel , Wolfram Sang Cc: Akshu.Agrawal@amd.com, Guenter Roeck , Chanwoo Choi , linux-kernel@vger.kernel.org, Dmitry Torokhov , linux-i2c@vger.kernel.org, Benson Leung References: <20191121211053.48861-1-rrangel@chromium.org> <20191121140830.1.Iae79baaa31014e8b1d8177bcfbcd41514af724f9@changeid> From: Enric Balletbo i Serra Message-ID: <2dcedacb-8d08-6a58-23af-e834ef9e80fd@collabora.com> Date: Mon, 25 Nov 2019 17:06:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191121140830.1.Iae79baaa31014e8b1d8177bcfbcd41514af724f9@changeid> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 21/11/19 22:10, Raul E Rangel wrote: > The I2C bus needs to share the same ACPI node as the tunnel device so > that the I2C bus can be referenced from ACPI. > > Signed-off-by: Raul E Rangel Hmm, isn't this change the same as https://lkml.org/lkml/2019/11/21/208 ? Should I assume this deprecates the one pointed above? Who is the author? Please maintain the Signed-off chain. Thanks, Enric > --- > I would have added a Fixes annotation, but I wasn't able to find the > hash for https://lore.kernel.org/patchwork/patch/1151436/. > > drivers/i2c/busses/i2c-cros-ec-tunnel.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/i2c/busses/i2c-cros-ec-tunnel.c b/drivers/i2c/busses/i2c-cros-ec-tunnel.c > index 958161c71985..ac2412755f0a 100644 > --- a/drivers/i2c/busses/i2c-cros-ec-tunnel.c > +++ b/drivers/i2c/busses/i2c-cros-ec-tunnel.c > @@ -272,6 +272,7 @@ static int ec_i2c_probe(struct platform_device *pdev) > bus->adap.algo_data = bus; > bus->adap.dev.parent = &pdev->dev; > bus->adap.dev.of_node = pdev->dev.of_node; > + ACPI_COMPANION_SET(&bus->adap.dev, ACPI_COMPANION(&pdev->dev)); > bus->adap.retries = I2C_MAX_RETRIES; > > err = i2c_add_adapter(&bus->adap); >