Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3753765ybc; Thu, 21 Nov 2019 13:13:01 -0800 (PST) X-Google-Smtp-Source: APXvYqyQ6fb3OUwY7KAlaoU6Jq9DMxJh+Q4nNekIb3DNfIGcGHajsAmpj1E0TIhhelt/K8C4RN7x X-Received: by 2002:a17:906:7812:: with SMTP id u18mr16280419ejm.6.1574370781513; Thu, 21 Nov 2019 13:13:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574370781; cv=none; d=google.com; s=arc-20160816; b=BlmxmlivlpwgLG4Co9iSPZcO3HJfC87a3haEEEnjz16pmLYQllXHh9HMFj7YA2mxVg +YsEMq/uu37wt8ed6RaHABhhCyvmW+lEqRiUZk5B40JAxs9r5+j4YOUUjrabpKKSfGx7 4qOiM4B2slIzrl8YmTz+fHrik4tFhwQTkg1DB+YqjSJb9mt+fFyoMhOBNDWNS6Xw+nQA Z1dmLk1xEzj1MWkD1zZ8lZEG0471Do4FCKQICT/m5R0zmZmAMwVoIfyo0C9PaXIl20s2 Sw3RURS9S7cZ7CNTriCOxpxDMv5t43/qYv8PFbUrZ1o4LFEUUzIemp/q1D36B/SYBbX0 y0xw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kgavvxB/Hc/+H2w7jNsoVQ+s9+9QFbvWPpzL0FkQJxU=; b=u2l8awFsqk+hsdbVYK1pWwzyXFjeI8GYEiyjEQP6BG1le5R/Cmc+2q/P9wfEPz7aIb mNan3rcouDsCSGd8UVVuRvIAOeIWGdUdR9wO1E44f4iWBO6Pxbe8O4YjcwmMJsBcXS6N 2gikqlcKyGJOEPdZapuTwzcOVizmDGUm6HVYoovwFVYXUmshtztghPCBze9NMRUFVSZ0 5G2zdKv8M4ouHqdNpOOV0y3/WpbLwx4BKAfuuulgIwdD3PuuSHWxGmX3N7izzRDTEGUz k3pDjPuE7jK4/H7VdsrFZyfNL/24jMlWIS0sGefgUBfd0233i7VR7WcAg/TxVtj1aW5P 5fng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jj3ZoDWG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17si2600161eju.113.2019.11.21.13.12.13; Thu, 21 Nov 2019 13:13:01 -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; dkim=pass header.i=@chromium.org header.s=google header.b=jj3ZoDWG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726975AbfKUVLH (ORCPT + 99 others); Thu, 21 Nov 2019 16:11:07 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:41326 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726676AbfKUVLG (ORCPT ); Thu, 21 Nov 2019 16:11:06 -0500 Received: by mail-io1-f67.google.com with SMTP id z26so1669311iot.8 for ; Thu, 21 Nov 2019 13:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kgavvxB/Hc/+H2w7jNsoVQ+s9+9QFbvWPpzL0FkQJxU=; b=jj3ZoDWGylf7UQuOrCkLtgehxUWrurNOfmINioGWqw63zWwZXuMSC2bxgmmO4TrD4/ 9Am+0gf0QO51cHmL+KT49hDvfBIzAnEfYO4oixNGFQSVzLQdYHx8rUSIUSKZamKPQqmn Una7L61JHDV0xan+uOmAMs3utj7t2iyCDn2FU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kgavvxB/Hc/+H2w7jNsoVQ+s9+9QFbvWPpzL0FkQJxU=; b=N+RGEUgHlBPJ/oK3InD7Wg0QraScO0NsjoVdwbNzaBif7QASTn3u22/ZUGxR15ToxG rFC4wAxMT7dfLAax7EEFrd8RDrYvgkvZ3d66ROthBygMTiWNzP7YOnPT2P8zxlcahLJW ZsIhmbHry0tcOLQ+jE9X9yI6YyDar+6GSXfnVzoP5Etmcc6QqHbQWtrqCmXXsdjyQJnm qJvzaJJlnGsnZa1KOdDRaOJasMkuOyoF8PZYCR2Ft5YZKNQkMFR6BgHzdShdT113+Hiy BJi5UHbTVHgKl/FRrJs6ZDEA+m/nvfT8j/cctmVfY1Tq8QbcPbhIfQQSoznlHlSez5BS +vEQ== X-Gm-Message-State: APjAAAXGemwDJfrHck0CUfRKyyTkw/gA7DVm6pVlBu9vTvrGsSII+k6I Al37S7TT0rEpRTzSiIxk2OlAVw== X-Received: by 2002:a02:77d5:: with SMTP id g204mr10770186jac.125.1574370665501; Thu, 21 Nov 2019 13:11:05 -0800 (PST) Received: from localhost ([2620:15c:183:0:82e0:aef8:11bc:24c4]) by smtp.gmail.com with ESMTPSA id h6sm1649609ilr.7.2019.11.21.13.11.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Nov 2019 13:11:05 -0800 (PST) From: Raul E Rangel To: enric.balletbo@collabora.com, Wolfram Sang Cc: Akshu.Agrawal@amd.com, Raul E Rangel , Akshu Agrawal , Guenter Roeck , Lee Jones , Chanwoo Choi , linux-kernel@vger.kernel.org, Neil Armstrong , Alexandre Belloni , Dmitry Torokhov , linux-i2c@vger.kernel.org, Benson Leung , dlaurie@chromium.org Subject: [PATCH 0/4] Convert cros-ec-i2c-tunnel to MFD Cell Date: Thu, 21 Nov 2019 14:10:49 -0700 Message-Id: <20191121211053.48861-1-rrangel@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Having the cros-ec-i2c-tunnel behave as a MFD Cell fixes a race condition that could happen if the cros-ec-i2c-tunnel gets probed before the cros_ec_lpc init has finished. There were also some bugs in the original cros-ec-i2c-tunnel ACPI patch. Raul E Rangel (4): i2c: i2c-cros-ec-tunnel: Pass ACPI node to i2c adapter i2c: i2c-cros-ec-tunnel: Fix ACPI identifier platform/chrome: cros_ec: Pass firmware node to MFD device platform/chrome: i2c: i2c-cros-ec-tunnel: Convert i2c tunnel to MFD Cell drivers/i2c/busses/i2c-cros-ec-tunnel.c | 37 ++++++++++--------------- drivers/mfd/cros_ec_dev.c | 19 +++++++++++++ drivers/platform/chrome/cros_ec.c | 13 +++++++-- 3 files changed, 43 insertions(+), 26 deletions(-) -- 2.24.0.432.g9d3f5f5b63-goog