From patchwork Thu Jan 10 17:58:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10756549 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 C486C17E1 for ; Thu, 10 Jan 2019 18:00:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B818829B6C for ; Thu, 10 Jan 2019 18:00:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC50729BD2; Thu, 10 Jan 2019 18:00:07 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7EBC29B6C for ; Thu, 10 Jan 2019 18:00:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730724AbfAJR7N (ORCPT ); Thu, 10 Jan 2019 12:59:13 -0500 Received: from shell.v3.sk ([90.176.6.54]:58555 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730703AbfAJR7M (ORCPT ); Thu, 10 Jan 2019 12:59:12 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 7C7C91002FC; Thu, 10 Jan 2019 18:59:09 +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 D8cQBG2P0Syb; Thu, 10 Jan 2019 18:58:54 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 0A9BC1002F8; Thu, 10 Jan 2019 18:58:54 +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 HJb0jpyyW1RC; Thu, 10 Jan 2019 18:58:53 +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 C9EC31002F0; Thu, 10 Jan 2019 18:58:52 +0100 (CET) From: Lubomir Rintel To: Andy Shevchenko , Darren Hart Cc: 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: [PATCH v5 0/10] Add support for OLPC XO 1.75 Embedded Controller Date: Thu, 10 Jan 2019 18:58:35 +0100 Message-Id: <20190110175845.1203986-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello! This is a fifth spin of the patch set that adds support for the Embedded Controller on an OLPC XO 1.75 machine. It notably removes the patches that adjust the battery driver -- those were submitted to linux-pm separately [1]. [1] https://lore.kernel.org/lkml/20190110174005.1202564-1-lkundrak@v3.sk/T/#m9da9aee9e6482ee680a103280ebb769ebcbb32ef This DT bindings doc is pretty much independent of the above: [01/10] dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC The OLPC EC changes follow. Cleanups first, then functionality: [02/10] Platform: OLPC: Remove an unused include [03/10] Platform: OLPC: Move EC-specific functionality out from [04/10] Platform: OLPC: Avoid a warning if the EC didn't [05/10] Platform: OLPC: Use BIT() and GENMASK() for event masks [06/10] Platform: OLPC: Add XO-1.75 EC driver [07/10] Platform: OLPC: Add a regulator for the DCON The patch 08/10 only makes sense once both the above and the XO 1.75 battery support is merged, otherwise enabling CONFIG_BATTERY_OLPC on ARM would break build. [08/10] power: supply: olpc_battery: Allow building the driver The restart support has been split off, because there's a possibility it needs to be reworked: the arm_pm_restart export patch was objected to: [09/10] ARM: export arm_pm_restart [10/10] Platform: OLPC: Add restart support to XO-1.75 EC 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. Lubo