Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp188689imp; Wed, 20 Feb 2019 17:23:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IZVE8axYixjQ5DktNvS45leAwVK9xaCPIoDkqaqYnAXZiLRZlPdUL90mq0iwiDM9y34lkM5 X-Received: by 2002:a17:902:7e46:: with SMTP id a6mr19185275pln.150.1550712207038; Wed, 20 Feb 2019 17:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550712207; cv=none; d=google.com; s=arc-20160816; b=0w5ViwhABRnGz+ruj/+Sj3Kvod6j7vUpLfqYk9+sGyzwqFuLH0xh0BeOGNfe7pv5HW +42Y55lyI4mSnZ2OA09GIsx5HkdKND1yWMZP9WpnxA3Rz6fXUiYllqVl2jsaaK7MbI5l znZ0+ELwZy5kVNEpf/xtgYppHMm7u4FLxxqjdU3E81RcxAlLai1R5z9hwyZ6/WcQifyR K26SDPbfrfNk9N4KuN1oIB8wubwSt+ug7eNuh6Nnv5eYLMRLmj+b/uaDoOQnhviDjV+7 XUfo/g/W7AlKKgo6uBG2YfNa54B8pDBp1I5SFbN61p66KQ91WvbqrUp9SJptX0WKF8iZ jGvA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=V2ydE4AEk0FEWXbith5g30WIPW7ega244MSb+lvhbl0=; b=BfGk9AJl2boA2V4bevLEEoWElrue3HZ2YmXMujoDEdpiXAY2tcZOraTaWtS67HQCmt /Jrz7MpLSlKGm9z9/65FxUs4PrMb/pIpUqCEZxt/HOo8gXWXfqFLND+7dj5GpeCDpZkJ qRsDsBt0/J16y8qoUuOGR36Q30d8fpXqZGdjveT41Cf99CYOYWALS8FVzbFdJRyQmc+w ZbVu+VVNDOj/96OlE4k4jETSXKhQ/WE5biozIIc8vFz4XYryq9mkSUajW+Sqh/TcHdzJ xwHZLgtTN7ymsbMhLwaCq+p0W/7/avc1tnyY4PI682xS4OcLiv7bIOon9CYLH4RQRuOS Lo2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=m0PAxE2c; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s73si19753060pfs.54.2019.02.20.17.23.10; Wed, 20 Feb 2019 17:23:27 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=m0PAxE2c; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbfBUBWl (ORCPT + 99 others); Wed, 20 Feb 2019 20:22:41 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:37530 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfBUBWl (ORCPT ); Wed, 20 Feb 2019 20:22:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V2ydE4AEk0FEWXbith5g30WIPW7ega244MSb+lvhbl0=; b=m0PAxE2cEmdtItBRRv9THfaqQ Pa9s5dlhB4yh74r6eIPMBZ5lW2Wg9czjRRsX+xUcoUH1W0WWG4HfbwMgFuotHxoWP9Ww3DSMtH8VD SpSzlIdObjBZmsNV5evPX5UBzuRF+1KiLxGVbJoGpXcF1D0eW4UIsJwNxc1o64hGbcFDq9ot1ZBfK lB15VExNKDj+0706fY4Wlt2ZsHV9rlcW+Fp/MOybVbw3ft2nTHI9IJ/Sz97cyiYQCjEiF392RsJBa EQg1ho/pF0G/JkIfmRD8fsirutZgfE/7nh4zsnoCI1uOQCUI3RIvXEn2/vUulgHS+SkaL+tBDEilO 6SJsU5EWg==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwd4L-0000bm-6A; Thu, 21 Feb 2019 01:22:33 +0000 Date: Wed, 20 Feb 2019 17:22:31 -0800 From: Darren Hart To: Lubomir Rintel Cc: Andy Shevchenko , Rob Herring , Russell King , Mark Rutland , platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 06/10] Platform: OLPC: Add XO-1.75 EC driver Message-ID: <20190221012231.GC5838@wrath> References: <20190110175845.1203986-1-lkundrak@v3.sk> <20190110175845.1203986-7-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190110175845.1203986-7-lkundrak@v3.sk> 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 Thu, Jan 10, 2019 at 06:58:41PM +0100, Lubomir Rintel wrote: > It's based off the driver from the OLPC kernel sources. Somewhat > modernized and cleaned up, for better or worse. > > Modified to plug into the olpc-ec driver infrastructure (so that battery > interface and debugfs could be reused) and the SPI slave framework. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v4: > - Chop off the reboot handler. Will be added back once it's clear how. > > Changes since v3: > - Introduce CONFIG_OLPC_EC symbol to enable parts common to this driver > and the X86 OLPC EC machinery. > > Changes since v1: > - Cosmetic style changes; whitespace, ordering of declarations and > #includes, remoted extra comas from sentinels > - Count the terminating NUL in LOG_BUF_SIZE > - Make olpc_xo175_ec_is_valid_cmd() return -EINVAL instead of -1 > on error > - Spell keyboard/touchpad in full for CHAN_KEYBOARD/TOUCHPAD messages > - Use a #define for PM wakeup processing time > - Log a message on unknown event > - Escape logging payload with %*pE > - Replace an open-coded min() > - Correct an error code on short read > - replaced PM callback #ifdefs with __maybe_unusedm SET_RUNTIME_PM_OPS > and SET_NOIRQ_SYSTEM_SLEEP_PM_OPS > - dev_get_drvdata() instead of a round-trip through platform device > - s/unsigned char x/u8 x/ in olpc_xo175_ec_resume() > - Use GENMASK() instead of 0xffff for the event mask > - Replace cmd tx/resp rx buffers with structures > - Turned suspend hint arguments into a struct, and tidied up the comment > > Basically all of the above is based on the review by Andy Shevchenko. Andy, I am happy to merge this series - but this patch includes a lot of changes driven by your feedback. Are you satisfied with the changes, would you like to add your Reviewed-by? -- Darren Hart VMware Open Source Technology Center