Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp975144imu; Wed, 16 Jan 2019 10:31:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN4BUL+Fzqmt0kCOUM7m+S9k/YHTcMpPYeHdhS5sj4uCEAX/GAk2lOd6XkhPTCsiUMkeE61c X-Received: by 2002:a63:e001:: with SMTP id e1mr10167628pgh.39.1547663498695; Wed, 16 Jan 2019 10:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547663498; cv=none; d=google.com; s=arc-20160816; b=G3iTfwEJ5+ZGFEQTm1lQgQ6rMK+r1goDE1yLz9t5c7t3AfOLR9wdA0vhE5O0WubtjS gHejvsJnIsP1RaTPs+QXPIrn7dMVQCGCCjUG8duHcJPPFXFjiAjIgSoqLZJklk4q/7gm T+icfNgcDhccURvwEwwigKo/LamWikr932uF3oheRFchg0chiTdppLsYJwcYe43wAdGX IilGTxJZc7EB7tHjeI9yjHVbRo8aaC5mLsAjNd8JLO3ekyDDZP7vzjU8lwEcBXWGwcUo MOwwi9ISctznoICvxE0GSr53MaG1FBnW3XwJOI5CMEqrjWYJ3eNC7BmSx2i4R8iL+EIZ 9HAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aXQ0K5EeXE1/NVz3VWlVrghUCjY2HyvRcO/snvuf/fQ=; b=jOhdNP33R59TkHDLCn4iw1Yz6FhIGINg9Itq080EfXtUp80HIZFdKDJtQbRcGS3e70 YPLvr06Q/vN/8ADvKlXAWNz6mON05pOmhxsO6CIRqEHurrW5mdSKlmn+TMLrn5tSu4Rx OqO/m1SC9lbThrHereg3z59YbN95U3enkuqTpxX2b97tzs0I3SV7XiNT2yHxCGEBDxSe 0eIjp8hoIkPT6Wb7NCo2l/XW9EO9JD/zylnWggIt+UvA4nV3g35fTgyyEoM/2iMvZGHm O0fLNEA7JJoildvzAvGBVrkkbTo532kPMOfdwbAxjn7YMlXiIIjTDfvX56YnWars3mRI FtVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bvp33zBi; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si1651442pfi.228.2019.01.16.10.31.23; Wed, 16 Jan 2019 10:31:38 -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=@linaro.org header.s=google header.b=Bvp33zBi; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390479AbfAPIv3 (ORCPT + 99 others); Wed, 16 Jan 2019 03:51:29 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:46020 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731718AbfAPIv3 (ORCPT ); Wed, 16 Jan 2019 03:51:29 -0500 Received: by mail-wr1-f66.google.com with SMTP id t6so5884794wrr.12 for ; Wed, 16 Jan 2019 00:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aXQ0K5EeXE1/NVz3VWlVrghUCjY2HyvRcO/snvuf/fQ=; b=Bvp33zBiSTtnXm0Hr3tZmBzM30w9OoFnOV5Ba46W7pK73xH3haMsJxGfmNxHGwidgX uM+zJaLRRHTgA7ZQlSnRbc2I4L30QEImxWfPXGQFAxlNMhU5SeZ3+GGpdiMAiP5Ny8Jn DxOnfrVM+6vBYN28fdPC9sJorMGiACypf1GLI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=aXQ0K5EeXE1/NVz3VWlVrghUCjY2HyvRcO/snvuf/fQ=; b=iwy42brpHlfwdpHIxYxoBXeXshFzaxGq4qkBv4PvVA1zmC2OPM0ZjPg+GIA+Bjj/OH C00p26ppFUgQRdiV2yJCJ1/mgfpodop80NdYxrd+EOV09bv48LYdMWIPeLALjmkXY26T YLB/D6FQQHdjqdt/Qkx6SteGcEIObfEpBhbGjVdUgRdsl8kzFbi4ISeQeAOebJH99xDi XXIn6G5E/+rlPvtvomqerT4KmFitpoGPGZLc7NKRS44a62v841j2hk2L0HHylL7GxCIz fZUlxVwfS/SugeooOcwknmA9u7EBTGtmEa3oeVVVSD9YGUc3QiCs+FALXSrOdaxrm/m7 sVfg== X-Gm-Message-State: AJcUukdKQ1WabU37oFD+Vvfa13Jz0Q9JvYypsHmVHFOCLzkSwcnjX4J3 ZAbWIadIZ7C+5MWyvx3ByeDrKg== X-Received: by 2002:adf:ee07:: with SMTP id y7mr6728416wrn.187.1547628687179; Wed, 16 Jan 2019 00:51:27 -0800 (PST) Received: from dell ([2.27.35.149]) by smtp.gmail.com with ESMTPSA id y1sm40093167wme.1.2019.01.16.00.51.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 00:51:26 -0800 (PST) Date: Wed, 16 Jan 2019 08:51:24 +0000 From: Lee Jones To: Enric Balletbo i Serra Cc: gwendal@chromium.org, drinkcat@chromium.org, linux-kernel@vger.kernel.org, groeck@chromium.org, kernel@collabora.com, bleung@chromium.org Subject: Re: [PATCH v5 0/7] mfd / platform: cros_ec: move cros_ec sysfs attributes to its own drivers. Message-ID: <20190116085124.GC23399@dell> References: <20181212173402.27086-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181212173402.27086-1-enric.balletbo@collabora.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Dec 2018, Enric Balletbo i Serra wrote: > Hi, > > This is another patchset to try to cleanup a bit more the crossed > references for cros-ec driver between the MFD and the platform/chrome > subsystems. > > The purpose of these patches is get rid of the different cros-ec attributes > from mfd/cros_ec_dev to its own sub-driver in platform/chrome. cros_ec_dev > continues instantiating the sub-devices but the sysfs attributes are owned > by the platform driver.E.g. The lightbar driver should own his sysfs > attributes and be instantiated only if the Embedded Controller has a > lightbar. > > The patchset also adds the documentation of the sysfs attributes. > > Most of the patches touches mfd subsystem and platform/chrome so I'd > suggest go all using and inmutable branch. > > Best regards, > Enric [...] > Enric Balletbo i Serra (7): > mfd / platform: cros_ec: use devm_mfd_add_devices > mfd / platform: cros_ec: move lightbar attributes to its own driver > mfd / platform: cros_ec: move vbc attributes to its own driver > mfd / platform: cros_ec: move debugfs attributes to its own driver > mfd / platform: cros_ec: move device sysfs attributes to its own > driver > mfd / platform: cros_ec_vbc: instantiate only if the EC has a VBC > NVRAM > platform/chrome: cros_ec_lightbar: instantiate only if the EC has a > lightbar These patches have been applied to my local MFD tree. It will be pushed when 5.0-rc3 has been released. The MFD tree needs rebasing onto it since it contains all of the MFD patches due for v5.0. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog