From patchwork Tue Jan 8 17:58:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10752643 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A456746 for ; Tue, 8 Jan 2019 17:59:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19E0128E2B for ; Tue, 8 Jan 2019 17:59:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DF2428E3A; Tue, 8 Jan 2019 17:59:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B18F228E2B for ; Tue, 8 Jan 2019 17:59:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=K6Gu9LuTC7Wqf4uAdxLxc4kgU7uS+f4Y9mShKlyz0jo=; b=BvzIF4em3bXRJM WHQeyTHdkoFfY5ZVzlakue/sq1raMIhNCoAfShUgeBaQnh4D8rY/LSbqns1VRmuDRzWgCPVfpH3ve 0ouFl6cWiBkDYPdcFxVyK9dP7lbGifwyCzvwVi0Qtn+R9d3e8GzWJW7KTBStmQRP57zHWG1eQcb2W bVjT1d4HPEvBdDtLFfFx2FcNWWf+7/S7SWlhNICBHl9DkozIX3FRTxsuHJE/kddDw/iaSWyfrDHgL otxtKG81XpJ7y05LC/hFUBkrNXoAmTGT1auSimdoO7cMUkfh5zDRebBYfeAvw1+VJB+ZzXWPa0m9b 2EN9HLLZU8bNJTltlEWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggveS-0007AW-50; Tue, 08 Jan 2019 17:58:56 +0000 Received: from shell.v3.sk ([90.176.6.54]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggveC-0006wo-Ra for linux-arm-kernel@lists.infradead.org; Tue, 08 Jan 2019 17:58:42 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 07EE3100050; Tue, 8 Jan 2019 18:58:36 +0100 (CET) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id InuCT_yISQSq; Tue, 8 Jan 2019 18:58:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 21C26100057; Tue, 8 Jan 2019 18:58:23 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id loLyG6O6AVhW; Tue, 8 Jan 2019 18:58:22 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 2F64310004D; Tue, 8 Jan 2019 18:58:22 +0100 (CET) From: Lubomir Rintel To: Andy Shevchenko , Darren Hart , platform-driver-x86@vger.kernel.org, Russell King Subject: [PATCH v4 00/15] Add support for OLPC XO 1.75 Embedded Controller Date: Tue, 8 Jan 2019 18:58:03 +0100 Message-Id: <20190108175818.705110-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190108_095841_046365_524ED5B4 X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, James Cameron , linux-pm@vger.kernel.org, x86@kernel.org, Sebastian Reichel , linux-kernel@vger.kernel.org, Rob Herring , Pavel Machek , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hello! This is a fourth spin of the patch set that adds support for the Embedded Controller on an OLPC XO 1.75 machine. It hopefully incorporated all feedback received previously and also fixes the kbuild test bot failures. The failed builds were generally caused by configurations where the EC driver was built as module. It turned out that the patch that turned the OLPC EC common code into a module was not the brightest idea. I now dropped it and modified the 04/15 to not require it. Also, the 01/15 patch has been added to allow the module to provide a reboot handler. Patch 15/15 depends on it. Tested to work on an OLPC XO 1.75 and also tested not to break x86 support with an OLPC XO 1 machine. I don't have a XO 1.5, but it's unlikely this breaks it when XO 1 works. [01/15] ARM: export arm_pm_restart() [02/15] dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC bindings [03/15] Platform: OLPC: Remove an unused include [04/15] Platform: OLPC: Add XO-1.75 EC driver [05/15] Platform: OLPC: Avoid a warning if the EC didn't register yet [06/15] Platform: OLPC: Move EC-specific functionality out from x86 [07/15] Platform: OLPC: Use BIT() and GENMASK() for event masks [08/15] Platform: OLPC: add a regulator for the DCON [09/15] dt-bindings: olpc_battery: Add XO-1.5 battery [10/15] x86, olpc: Use a correct version when making up a battery node [11/15] power: supply: olpc_battery: Use DT to get battery version [12/15] power: supply: olpc_battery: Move priv data to a struct [13/15] power: supply: olpc_battery: Use devm_power_supply_register() [14/15] power: supply: olpc_battery: Avoid using platform_info [15/15] power: supply: olpc_battery: Add OLPC XO 1.75 support Lubo