Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4186270imu; Fri, 30 Nov 2018 12:30:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/U34pQqq/R6MRI+8hjf4Xep9qmDDswkE7vQGXGXW0kuTRleigXm5ht16/gIymIk2lkJrleh X-Received: by 2002:a62:e30d:: with SMTP id g13mr6912958pfh.151.1543609842012; Fri, 30 Nov 2018 12:30:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543609841; cv=none; d=google.com; s=arc-20160816; b=EU63jNnJE5deXWJ/q354HcDjFkcwvejxKrE+qeiM9ZKlUPr9NKpQVkGAs99F+ZLfr9 +1DrsAajVp9AqMLXPkyws65Dpv/PL2/HrmscEvpqsbPPaV3T5VY59ZPvOYcmqvI7nn6E bS37d1qysJRKZ3SqWSlf2NJv3h/Nmcqwz4qAc5teZIQ3r5dlow17aFBkku6rshYLCSKZ dL5DYj1rN6P6oAxAPonDtzCMyhOn8+kpr5ZKBWZNA3GRzj1J0bBOpOFx3i+lrU6PlJdN TsCWWkWfrCxzyDVqXgIHijri1qp4N+jYUANCtYRUJunOmf6mdmxoGaOpuNnEOgEDLom6 gqLQ== 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=0qB+40Sgg8F2Iv92kibChdZHRTdb/Fg/Xrh0VW4KCGg=; b=CcGhQ7rb136VhlZQJjFjyWw7CV9SN+i59V8O9Y4VfeszQl72NPG+WnLta1/IhAu59+ nZLvpT//OTA7L49E1WKK4bgV5Vln4Acll3Q1pdfwPiDCVy8gmpga/a7TgGu9LxmsNbwE 3MvqNXextvd/GyAsv39qQYQKIGF78kv3ewTNjkYLKhBeL56ZdAZe/ZnkKzONLMTj3/yE sW/Ahi8o2LUWR1jDWrqjqZ9PsK4KprBA9azcXsjaYNkrQDgflJmQFCON1iAhw5XBbJ3U SN+ZKf3AA9jc03MdbVpC4w/7mzBX7fl9k8gCx+oHlzuvrLUjCkWXXGoV6m0t08hO+R2i tclw== 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 m198si5564489pga.98.2018.11.30.12.30.27; Fri, 30 Nov 2018 12:30:41 -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 S1727013AbeLAHin (ORCPT + 99 others); Sat, 1 Dec 2018 02:38:43 -0500 Received: from anholt.net ([50.246.234.109]:41020 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726816AbeLAHiU (ORCPT ); Sat, 1 Dec 2018 02:38:20 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 00E6110A156D; Fri, 30 Nov 2018 12:27:52 -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 s43h6Es2pkh1; Fri, 30 Nov 2018 12:27:49 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 79BF110A1521; Fri, 30 Nov 2018 12:27:44 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 663CA2FE2D5E; Fri, 30 Nov 2018 12:27:43 -0800 (PST) From: Eric Anholt To: Florian Fainelli , devicetree@vger.kernel.org, Rob Herring , Mark Rutland , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Wahren , bcm-kernel-feedback-list@broadcom.com, Eric Anholt Subject: [PATCH v3 0/5] BCM2835 PM driver (MFD version respin) Date: Fri, 30 Nov 2018 12:27:38 -0800 Message-Id: <20181130202743.20585-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 Guenter had some minor changes to patch #2, which I've done in this version. Eric Anholt (5): dt-bindings: soc: Add a new binding for the BCM2835 PM node. 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. ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware. .../bindings/soc/bcm/brcm,bcm2835-pm.txt | 42 ++ arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 - arch/arm/boot/dts/bcm283x.dtsi | 16 +- 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, 873 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