From patchwork Wed Jul 11 04:30:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 141659 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4649980ljj; Tue, 10 Jul 2018 21:31:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeOOuyUITKb2F/uZK8hK+Or0Q7Dg/RJ6qTMZxGoxfwUm1oGfYawkH9P17KqKDyRIG+J3K6r X-Received: by 2002:a17:902:e3:: with SMTP id a90-v6mr27671097pla.227.1531283468433; Tue, 10 Jul 2018 21:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531283468; cv=none; d=google.com; s=arc-20160816; b=a8aEPNsYLYl1y5PKavJTHfcV1NYz49y1CDtor52EftYxqq9PsL+sR1nnEgTV4cuM7k xYfmxBySV01jrb7S4kWomoMN2Q3PfURkfNdeZ7Jq+LeOxjkCz245Ofc6VbWHczfQBXmy yE91/1DvTRkIYmShLI5lxm3TLwEPiJ/5Edp8PJchR1tXcrbGLePDrHGJducmLrnJ57fW Gs5PxxMxrrRa9TgZGzuCEDYqGceieWbaCHI5yH8RZ5AjzocfmM6XWR0leZe6Td3+AD4M nmxCZcY8BPzHw7uiL+VgHfU2ogpq2SbuUKIrEKSw4mmYxt8T5aBuyAC6wHK3Ws5DfnyQ k09w== 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 :arc-authentication-results; bh=TZbiEwuLf9pgSXrWZUJoA/t0dCz5uz1gn+iNcEYv7YE=; b=CyNInlsI42HITJK6y2kyd+O6+OrE4twLb3Rpu1ZQLYHkER9QUEk//EoyRlSbfTv54Y jyDYgdTl7osjP2rA8EpZTSeMj6iNp9YCf/+ueivJQYjho33+UA8i2W/XeXBTGDIBVAeY sjKilo8sJZX1T/cjO28PQiNaAX1Sq6RRVHrT91/+U+SgU4lmCbEOuMHZfXC4zsESYer4 TFJytmhFTlY6pK5vU4lQi8o2O34FDgqrPYhYW+VzKYnyEBmz9TtvAJpGoRBiD7U1bBPg IabC7BMMv3SqL7owlUblCedUbldDSUcmQtPVTV+3Q0RNT8NABy4dNF+KHTA/yhNGZ7JG 5Cxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 k190-v6si17675051pge.276.2018.07.10.21.31.08; Tue, 10 Jul 2018 21:31:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726146AbeGKEd2 (ORCPT + 5 others); Wed, 11 Jul 2018 00:33:28 -0400 Received: from mx.socionext.com ([202.248.49.38]:16916 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725856AbeGKEd2 (ORCPT ); Wed, 11 Jul 2018 00:33:28 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 11 Jul 2018 13:31:06 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 672D660034; Wed, 11 Jul 2018 13:31:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 11 Jul 2018 13:31:06 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 964131A01BB; Wed, 11 Jul 2018 13:31:05 +0900 (JST) From: Kunihiko Hayashi To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH v3 0/2] regulator: add new UniPhier regulator support Date: Wed, 11 Jul 2018 13:30:50 +0900 Message-Id: <1531283452-9705-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series add new regulator controller support for UniPhier SoCs. Currently this supports USB3 VBUS controller only. This USB3 VBUS belongs to USB3 glue layer. Changes since v2: - replace functions in regulator_ops with helper ones Changes since v1: - dt-bindings: add description of glue layer - replace read/write accesses with regmap_mmio - rewrite a header with C++ comment style - reuse soc_data for pxs2, ld20 and pxs3 - replace clk operations with clk_bulk - move nclks and nrsts to soc_data Kunihiko Hayashi (2): dt-bindings: regulator: add DT bindings for UniPhier regulator regulator: uniphier: add regulator driver for UniPhier SoC .../bindings/regulator/uniphier-regulator.txt | 57 ++++++ drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/uniphier-regulator.c | 213 +++++++++++++++++++++ 4 files changed, 279 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/uniphier-regulator.txt create mode 100644 drivers/regulator/uniphier-regulator.c -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html