Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp239214imu; Wed, 12 Dec 2018 15:53:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/W0EqAckKhncdnSHAwddPgqACbqrOPocTnDRFWd3H8uH+YYM6X3OGXf6LQqHHOiCIoofmHS X-Received: by 2002:a63:9712:: with SMTP id n18mr19703096pge.295.1544658810307; Wed, 12 Dec 2018 15:53:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544658810; cv=none; d=google.com; s=arc-20160816; b=lCziKvNXBDME56IfkoCRZwTapQiQ+chzrpdmOjVRhbchj1y+TJRCI7BwWqoam+tfB1 vX4u3IXI3/vu4kZ6ONLxDL0WVBzFBdr9bxXdPrc6PCj4FcOG09IdavQlhW2WJi2kUj61 wQqV8uSYI+oayiJjS+IM8av1uZTVtIrRMb8pOE41XdusSsNgPJETjBuFbNkZD0z6FIRP nED4wZhVChJOI8CECnu6i6dKwXiZMKhWE6SnwjbbXI3RVRVprIAx2yGxytSCym4Z8Cnt bseEwV5c+kSDgrV6eJJygP28/pfYLsJveq8T900pMwKfFLjJXQeZelj1hkfB89YE7FqY VTZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=S+vOXJNfK8rUgLM9AkiqRZilZVR7IcZTaG65vRB+oZI=; b=Hf/KakJbvWuNvp14ZzM+kmgQDAYBxZbPn8fMAFJc3kWKAqNVEmCV38MX3T20gK9pcM G0Vs4oSvmazElOvTw2BxAiWvnjN3ISLkOe9I0nGgW0Not5zclhmm/zs+XI/hi7zaFm1s OdGeU2FwlJLHiel0wAIi4Ps7TjPWfJz8/YhJl8M/O2sD3D7RSS9hDg4FMgFM/jEpefAp u5qM63kk1+15YgXgj9d88GPVPsq5R2+kx8q1rZ9uaRx8SLM+V3WGXTr/gxq0X3maAv0q sq6E3xM9pTjjmMQogutJkgDNtXM2A1pfw+SLUqUxdRredEzIQ3kTCG4q/0EhsXVArkvM rUvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 c3si141256pgw.425.2018.12.12.15.53.15; Wed, 12 Dec 2018 15:53:30 -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; 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 S1728569AbeLLXwC (ORCPT + 99 others); Wed, 12 Dec 2018 18:52:02 -0500 Received: from anholt.net ([50.246.234.109]:59136 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbeLLXv7 (ORCPT ); Wed, 12 Dec 2018 18:51:59 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 1AE9210A1DB1; Wed, 12 Dec 2018 15:51:59 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vi416EljiwjO; Wed, 12 Dec 2018 15:51:55 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 6E4C310A1D8D; Wed, 12 Dec 2018 15:51:51 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 237732FE2D16; Wed, 12 Dec 2018 15:51:50 -0800 (PST) From: Eric Anholt To: Florian Fainelli , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, Guenter Roeck , Wim Van Sebroeck , Lee Jones , Stefan Wahren , Mark Rutland , Rob Herring Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH v4 0/5] BCM2835 PM driver Date: Wed, 12 Dec 2018 15:51:45 -0800 Message-Id: <20181212235150.6491-1-eric@anholt.net> X-Mailer: git-send-email 2.20.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4 adds the system-power-controller node to the binding as requested by Stefan. No driver changes are added to make the power controller behavior optional yet, since it's really unrelated to this series. Eric Anholt (5): dt-bindings: soc: Add a new binding for the BCM2835 PM node. (v4) bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD. soc: bcm: bcm2835-pm: Add support for power domains under a new binding. ARM: bcm283x: Extend the WDT DT node out to cover the whole PM block. (v4) ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware. .../bindings/soc/bcm/brcm,bcm2835-pm.txt | 46 ++ arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 - arch/arm/boot/dts/bcm283x.dtsi | 17 +- arch/arm/mach-bcm/Kconfig | 1 + drivers/mfd/Makefile | 1 + drivers/mfd/bcm2835-pm.c | 92 +++ drivers/soc/bcm/Kconfig | 11 + drivers/soc/bcm/Makefile | 1 + drivers/soc/bcm/bcm2835-power.c | 661 ++++++++++++++++++ drivers/watchdog/bcm2835_wdt.c | 26 +- include/dt-bindings/soc/bcm2835-pm.h | 28 + include/linux/mfd/bcm2835-pm.h | 14 + 12 files changed, 878 insertions(+), 24 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.txt create mode 100644 drivers/mfd/bcm2835-pm.c create mode 100644 drivers/soc/bcm/bcm2835-power.c create mode 100644 include/dt-bindings/soc/bcm2835-pm.h create mode 100644 include/linux/mfd/bcm2835-pm.h -- 2.20.0.rc1