Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp442828imu; Wed, 16 Jan 2019 01:33:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN49W9TNspkJnPbnHIZe82L6PW1ZQpB1lM1onh9S1raEJ/6umGGc/o4sGQYy6pDbgQz/CoKC X-Received: by 2002:a17:902:5601:: with SMTP id h1mr9082336pli.160.1547631208148; Wed, 16 Jan 2019 01:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547631208; cv=none; d=google.com; s=arc-20160816; b=zdj8BeQ4hXKmmAPrp1v+CI4hEc5vnw7mdkEhQLMyEgR1YuKbAILC3Oez9Fp0TvfsqU MloD2snxZ6o1NnwuK0IR7gW6rYT0TngHdh92PUWl/c89VynTCyxmOfgArQNjAcvUc36E /LDAo4TV2oci027gcbIwefsfcFIsI9qTTqaVrPkS80TJgw/3WESayNHMVuKNceNEkHAz kkCqU9K/oq0d6B1tv0LhkMUSOCiIje0PC9Ja/wKSplXdN6SZQsgh0DpYxu52kb5srSvD rBsvi7jWlMV0RWfOz03JqYaALLsZNXX3wjxea35RXJANFogsLjFe7XdNMWmDAiqm8JZJ uLxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=KAVBr5CS8Qo4S67pHQw9icu33rQ3S+2XzKFXM2ytaxg=; b=EDYDPxXX9BQTYOkUX9mJxGJ2iTc0Z/lMGqxoEHDSoPyJ9YMgau7r2HtfTQUKokDRG/ TVUNfjpWd73HC+ui2z6xRqD3vINNx2eCMnYiVAlxYPxoIQLUUCuq1w4Fk05dXCLi1Efx N9wM654TErQivR79+NKCoFr2zX+bOYmNWuUKGMFUSTFo+/UPExLDJI7AAtmeec/npsu4 2Ee97IoX02Y+Sa/hh8OTI4hj+mUUGkg6OVwHCYoFwQ02lRwLAEBwFCak3m1760otbSa0 n8yA4Ta0IsGU7+SPnqT4axpAN91jEI3RlWsxw5izI1HYkUURq80FKAkVsCsJo7ripgOu XL2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IuansByA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20si5680134plr.106.2019.01.16.01.33.09; Wed, 16 Jan 2019 01:33:28 -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=pass header.i=@gmail.com header.s=20161025 header.b=IuansByA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388904AbfAOSo3 (ORCPT + 99 others); Tue, 15 Jan 2019 13:44:29 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41904 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728911AbfAOSo3 (ORCPT ); Tue, 15 Jan 2019 13:44:29 -0500 Received: by mail-pg1-f195.google.com with SMTP id m1so1595875pgq.8; Tue, 15 Jan 2019 10:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=KAVBr5CS8Qo4S67pHQw9icu33rQ3S+2XzKFXM2ytaxg=; b=IuansByA0fxme6Tv2drKKhqr7YIFZCNOCy0fGHAQORUVVLhE1pQX6HA2pvkV5uvZP6 HuE6/SIGErPfYe4PeQB17Kxq/5Ux0Jejo9BxHfZR78aoRgLwFm4rrdDUlyS6hXi9p9aJ 3QQjJxN/KIFtngyQlth3PGUE0C8NUjEjE7CQHKlySdloOcfzMWzr8yrxWI9pM0q+B+Dz X2BWxjqCjzX7R3u+7rJ20BwbM7gT3YOf4gK44/3ltRoxhfh6mlgi2vHT2jc3o/435zal DOIaNu4D4C8gk0fSdYGdUVpmPOgkHvNrUa6Atqqp375c/Cdd8QdLSSKaCHYkVcI1ibjl KPEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KAVBr5CS8Qo4S67pHQw9icu33rQ3S+2XzKFXM2ytaxg=; b=oLD0Ozx+UW5eX8enl3ftjLUfn/s5Teu1wG0LY0wn4Os1IhoKQZ73XafgXCX7EBV5cM jrGVtrDYq0P2l0ZeRVjJPl4wSNMObC9Rr5+XtPnlQKgJ6cmELfq7O/R0xNL7HBxNZ4qx rvFqdgy/eT/lAtWGfnWP6643wXwfpL07kK591OkbErtBiPwsx75Z2CP1umlxtBpFvrx6 HPbSNFLf089YRYkVclJuiSvWwO3bV2ZinidVZpcu/7gwNo4Z2SYrMjYhZ0swojN3mOV0 8TQ3ecCcbhtm4GGeai+U/JN0L6LckxIM3b6McGv77q8pi62ztZqH+FkdMBYFwNSmWWS/ 15vg== X-Gm-Message-State: AJcUukfzjI3jtUtS0Jnb1SMbtdhHlU0JnNEo77jcqT+3fRhWL6JjV7GM kvTTpzEgpv2aNSgbhOoDmtJmYP4d X-Received: by 2002:a62:1992:: with SMTP id 140mr5449956pfz.33.1547577867838; Tue, 15 Jan 2019 10:44:27 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id m67sm9156950pfb.25.2019.01.15.10.44.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 10:44:26 -0800 (PST) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Philipp Zabel , Rob Herring , Mark Rutland , Brian Norris , Gregory Fong , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE) Subject: [PATCH v2 0/2] reset: Add Broadcom STB SW_INIT reset controller driver Date: Tue, 15 Jan 2019 10:44:04 -0800 Message-Id: <20190115184406.3164-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Philipp, This patch series adds support for the Broadcom STB reset controller using SW_INIT-style registers which have one or more banks of 32 reset lines and separate CLEAR/SET/STATUS registers. Thanks! Changes in v2: - utilize SW_INIT_BIT() in status callback - removed unused members of private structure - confirmed maximum reset duration with designers - renamed binding to brcm,brcmstb-reset.txt Florian Fainelli (2): dt-bindings: reset: Add document for Broadcom STB reset controller reset: Add Broadcom STB SW_INIT reset controller driver .../bindings/reset/brcm,brcmstb-reset.txt | 27 ++++ drivers/reset/Kconfig | 7 + drivers/reset/Makefile | 1 + drivers/reset/reset-brcmstb.c | 130 ++++++++++++++++++ 4 files changed, 165 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/brcm,brcmstb-reset.txt create mode 100644 drivers/reset/reset-brcmstb.c -- 2.17.1