Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7781190ybl; Thu, 16 Jan 2020 05:34:53 -0800 (PST) X-Google-Smtp-Source: APXvYqyLygZonPGJr15D1aWNEMaCuBk10j/8fz6NOOtNtacuairR1luss83EYLzOw1FMh7eULrUU X-Received: by 2002:a9d:12cf:: with SMTP id g73mr1854573otg.329.1579181693364; Thu, 16 Jan 2020 05:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579181693; cv=none; d=google.com; s=arc-20160816; b=nolgv6ncAwlgDfb0fipbEAZWG3xpOq2hQr3XCQSnhIoWa3FWNBmdnVSt4aV6gBWBBm mqjldLlMN7DFw5HxYqyS4WI8OZLvTJ5z/PnAKDBUsrBVhpn5p4wNemCtmSrJOlABilq7 +RwQTkcCl5I0aJI/+kiHVU0HKne4izkst1KUPFxBmm5ZvJM8N1G8biRzccXWrGXy6iBZ re4s1Q5EGC/M97/omcGofS4y1W1ds6fgNUxCtDzDZEFjn7CBwh/EjGJefoRhyIc79GMI 8bgB1t/P+X+wq4aBvIHZyavWalhSqE8t+Is6/PEjRz3CwN1xbnsZeBXO4bj5eibMOs1A cm+g== 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=TN1C0BU2PTBLJmNFZg5mU4BeRHix0wJ3ht/gwzdD5u8=; b=x/7OTVJiNXdJpFJ54zG5EFds56NW6IhYHf0AYUmre61trz/P2O795ldK1mCr87hech GKFerRcXBOLTQ80UCiLI8FW9v8tFHGga/zrsignnbgeiYFYO+dv75Kw1SqWWom0M67OO tkJj7oTpA/82VR4nSHbN2exg9cSitHCKQB3fKtSMr72tcVHKkSo8+P0VPGaOqllVWIG0 gFdWtUugFWWRKRGRD8EQY8vZq6DemxmoVSf4pFdnJ3eJMu4g1fufCSYoNci//KdIyDX5 m2IPaS/1frwEzaegeIzZOsuBTxRUcrUObyVUsoRFzSoWCHpMB5IqA36SzPCXjBs5Eywg V55w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oxrQ87UT; 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 g8si11227953oia.262.2020.01.16.05.34.40; Thu, 16 Jan 2020 05:34:53 -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=oxrQ87UT; 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 S1726857AbgAPNdb (ORCPT + 99 others); Thu, 16 Jan 2020 08:33:31 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38985 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgAPNdb (ORCPT ); Thu, 16 Jan 2020 08:33:31 -0500 Received: by mail-wm1-f66.google.com with SMTP id 20so3818063wmj.4 for ; Thu, 16 Jan 2020 05:33:29 -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=TN1C0BU2PTBLJmNFZg5mU4BeRHix0wJ3ht/gwzdD5u8=; b=oxrQ87UT83nfd3P9kxfj9QfY2myJr7M1giXv9Qf0hHpui2mW5VzAw88L57J9lZ0v20 yZ+egCtL37C0m0oHxc6vGdiGf0NrwrzU+S497dJwHjoCOoLHaNi7VkAyG+SCEZ7+xEsv zVMs2IDbd5PYFwbk4010xsqgj8a397CUGFGDHsE+oW9MAwLixnZMnv6kmm7203G3k1yt KVyUpLjVqNiMYXxZUGvFBZqHYhDW5JglvXnBjAe2wa1fn/U/FE1mzvHN8PlDzLDz16b+ smVa8kRwRouG/4OKwXooONg2EXcG2cV+0gtFbASy2oAFJZjhWCk5B5xfEq24x5BCHDZ0 xwpQ== 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=TN1C0BU2PTBLJmNFZg5mU4BeRHix0wJ3ht/gwzdD5u8=; b=LzQlYv1AbSv84QSo2MRJghV/koMs/ZelLfuee5UPhO7OyEpTkXu5saU9SSUEDSbikh Ka845eHc4WOgw8I3SHsr6VKQH6tYZRJFRbp8rNwZProCNAytjbtxpjlHKxIR6f3dSRjF j1tObDutQzf7zBGcYzYNugWQI1QIDxTVChTrpKG5nJzsz0u8lkQnvwq1DQvmZvO5bEzY JVjfkPf0ZxXoi/r6UH6gSDj2O5MdgUYNvfiXFfQZSr7YMAcXa/W511582pY8Jp6ZRl4M EnfcSeyUA/ILcWTKYKDCtZupPtSGsvhIzJ1592rMiltxYiNAmDXI7rcOyaCCWLNYCb07 CHjQ== X-Gm-Message-State: APjAAAXqZs5aOOC2ibRWYDpLf8Nxaad/MkTZqnjd43MZNot+DHjG3f8H rUtVYA4AUzJm5LWEf+FeCuOs7w== X-Received: by 2002:a1c:48c1:: with SMTP id v184mr6313015wma.5.1579181608706; Thu, 16 Jan 2020 05:33:28 -0800 (PST) Received: from dell ([2.27.35.221]) by smtp.gmail.com with ESMTPSA id t131sm5053730wmb.13.2020.01.16.05.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 05:33:28 -0800 (PST) Date: Thu, 16 Jan 2020 13:33:47 +0000 From: Lee Jones To: Prashant Malani Cc: enric.balletbo@collabora.com, groeck@chromium.org, bleung@chromium.org, sre@kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v6 2/3] mfd: cros_ec: Add cros-usbpd-notify subdevice Message-ID: <20200116133347.GQ325@dell> References: <20200114232219.93171-1-pmalani@chromium.org> <20200114232219.93171-2-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200114232219.93171-2-pmalani@chromium.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Jan 2020, Prashant Malani wrote: > Add the cros-usbpd-notify driver as a subdevice on platforms that > support the EC_FEATURE_USB_PD EC feature flag and don't have the > ACPI PD notification device defined. > > This driver allows other cros-ec devices to receive PD event > notifications from the Chrome OS Embedded Controller (EC) via a > notification chain. > > Signed-off-by: Prashant Malani > --- > > Changes in v6: > - No changes. Just replied to v5: Looks good to me. Could we have some Chromium reviews please? > Changes in v5: > - Updated the IS_ENABLED() check to check for CONFIG_OF instead of > !CONFIG_ACPI according to upstream comments. > > Changes in v4: > - Removed #ifndef usage; instead, moved cros-usbpd-notify to a separate > mfd_cell and used an IS_ENABLED() check. > - Changed commit title and description slightly to reflect change in > code. > drivers/mfd/cros_ec_dev.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog