Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1213080/?format=api
{ "id": 1213080, "url": "http://patchwork.ozlabs.org/api/patches/1213080/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/702daeb9d8604e2feddd5f6f92b067a2d60d81ad.1576745635.git.matti.vaittinen@fi.rohmeurope.com/", "project": { "id": 42, "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api", "name": "Linux GPIO development", "link_name": "linux-gpio", "list_id": "linux-gpio.vger.kernel.org", "list_email": "linux-gpio@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<702daeb9d8604e2feddd5f6f92b067a2d60d81ad.1576745635.git.matti.vaittinen@fi.rohmeurope.com>", "list_archive_url": null, "date": "2019-12-19T09:46:04", "name": "[v7,02/12] dt-bindings: mfd: Document ROHM BD71828 bindings", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5dde4b55bed56924628d278f583ceae5005882d3", "submitter": { "id": 74146, "url": "http://patchwork.ozlabs.org/api/people/74146/?format=api", "name": "Matti Vaittinen", "email": "matti.vaittinen@fi.rohmeurope.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/702daeb9d8604e2feddd5f6f92b067a2d60d81ad.1576745635.git.matti.vaittinen@fi.rohmeurope.com/mbox/", "series": [ { "id": 149534, "url": "http://patchwork.ozlabs.org/api/series/149534/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=149534", "date": "2019-12-19T09:44:08", "name": "Support ROHM BD71828 PMIC", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/149534/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1213080/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1213080/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-gpio-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (no SPF record)\n\tsmtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67;\n\thelo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=fi.rohmeurope.com" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 47dn7s1yM6z9sPc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 19 Dec 2019 20:46:17 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1726704AbfLSJqQ (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 19 Dec 2019 04:46:16 -0500", "from mail-lj1-f194.google.com ([209.85.208.194]:43870 \"EHLO\n\tmail-lj1-f194.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1726618AbfLSJqQ (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Thu, 19 Dec 2019 04:46:16 -0500", "by mail-lj1-f194.google.com with SMTP id a13so5480558ljm.10;\n\tThu, 19 Dec 2019 01:46:12 -0800 (PST)", "from localhost.localdomain (84-253-217-17.bb.dnainternet.fi.\n\t[84.253.217.17]) by smtp.gmail.com with ESMTPSA id\n\tx21sm2401058ljd.2.2019.12.19.01.46.09\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 19 Dec 2019 01:46:11 -0800 (PST)" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=xKipheRLGIMCzrNdHXwmq/tOP2mhjlDfz4nrsjavois=;\n\tb=j73dUnNprL2kQlDneS5uxlXc/LeoC5bsGHSc8Yh44RuN4AAMRWzJb/XX+3cRnfacl2\n\tpYn+B+TShOlPb9KhpZCXq8O/r7sUxeYcBnjwKuLSkNJ33VXbS1ezI826J93nBH5oAV36\n\t0X1UWnzt4Mgo7l9p6QIhdrpSYgM4XhfIecs+9gDknmiuMUvnznL4zhWWwGITQLLYxs8y\n\tDWE8FrIQMfQZtg0sFDvVS+0CPFidLAdMfMzf8WIvZnfc3Oll9i1oayRoefqMp+A+GXkX\n\tqIuW63DUPusFWPBj9KR8lo3KEu9ALPKMGDYHLW+L27qSrJpKhWVdcSxBRohLJlo5uBDZ\n\t6Svw==", "X-Gm-Message-State": "APjAAAWbzs6rlGxq01kYg7R5bIb4H0/52F8A01qzD3VvoOlYy/DmiXbp\n\tul+NdbFd/ttMo9tBWrT+Dj8=", "X-Google-Smtp-Source": "APXvYqynItjaF8F+9iTk7hJupRQ0eA2Tq5gerX3BBkUOCkfHAIFvSMFSWYsqJQGjl7SePwZEfSAyjg==", "X-Received": "by 2002:a2e:80d9:: with SMTP id r25mr5426464ljg.8.1576748771810; \n\tThu, 19 Dec 2019 01:46:11 -0800 (PST)", "Date": "Thu, 19 Dec 2019 11:46:04 +0200", "From": "Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>", "To": "matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com", "Cc": "Jacek Anaszewski <jacek.anaszewski@gmail.com>,\n\tPavel Machek <pavel@ucw.cz>, Dan Murphy <dmurphy@ti.com>,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tLee Jones <lee.jones@linaro.org>,\n\tMichael Turquette <mturquette@baylibre.com>,\n\tStephen Boyd <sboyd@kernel.org>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tBartosz Golaszewski <bgolaszewski@baylibre.com>,\n\tLiam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>,\n\tAlessandro Zummo <a.zummo@towertech.it>,\n\tAlexandre Belloni <alexandre.belloni@bootlin.com>,\n\tlinux-leds@vger.kernel.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,\n\tlinux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org", "Subject": "[PATCH v7 02/12] dt-bindings: mfd: Document ROHM BD71828 bindings", "Message-ID": "<702daeb9d8604e2feddd5f6f92b067a2d60d81ad.1576745635.git.matti.vaittinen@fi.rohmeurope.com>", "References": "<cover.1576745635.git.matti.vaittinen@fi.rohmeurope.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<cover.1576745635.git.matti.vaittinen@fi.rohmeurope.com>", "User-Agent": "Mutt/1.12.1 (2019-06-15)", "Sender": "linux-gpio-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<linux-gpio.vger.kernel.org>", "X-Mailing-List": "linux-gpio@vger.kernel.org" }, "content": "ROHM BD71828 Power management IC integrates 7 buck converters, 7 LDOs,\na real-time clock (RTC), 3 GPO/regulator control pins, HALL input\nand a 32.768 kHz clock gate.\n\nDocument the dt bindings drivers are using.\n\nSigned-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>\nReviewed-by: Rob Herring <robh@kernel.org>\n---\n\nNo changes since v6\n\n .../bindings/mfd/rohm,bd71828-pmic.yaml | 193 ++++++++++++++++++\n 1 file changed, 193 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml", "diff": "diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml\nnew file mode 100644\nindex 000000000000..4fbb9e734284\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml\n@@ -0,0 +1,193 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: ROHM BD71828 Power Management Integrated Circuit bindings\n+\n+maintainers:\n+ - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>\n+\n+description: |\n+ BD71828GW is a single-chip power management IC for battery-powered portable\n+ devices. The IC integrates 7 buck converters, 7 LDOs, and a 1500 mA\n+ single-cell linear charger. Also included is a Coulomb counter, a real-time\n+ clock (RTC), and a 32.768 kHz clock gate.\n+\n+properties:\n+ compatible:\n+ const: rohm,bd71828\n+\n+ reg:\n+ description:\n+ I2C slave address.\n+ maxItems: 1\n+\n+ interrupts:\n+ maxItems: 1\n+\n+ gpio-controller: true\n+\n+ \"#gpio-cells\":\n+ const: 2\n+ description: |\n+ The first cell is the pin number and the second cell is used to specify\n+ flags. See ../gpio/gpio.txt for more information.\n+\n+ clocks:\n+ maxItems: 1\n+\n+ \"#clock-cells\":\n+ const: 0\n+\n+ rohm,charger-sense-resistor-ohms:\n+ minimum: 10000000\n+ maximum: 50000000\n+ description: |\n+ BD71827 and BD71828 have SAR ADC for measuring charging currents.\n+ External sense resistor (RSENSE in data sheet) should be used. If some\n+ other but 30MOhm resistor is used the resistance value should be given\n+ here in Ohms.\n+\n+ regulators:\n+ $ref: ../regulator/rohm,bd71828-regulator.yaml\n+ description:\n+ List of child nodes that specify the regulators.\n+\n+ leds:\n+ $ref: ../leds/rohm,bd71828-leds.yaml\n+\n+ gpio-reserved-ranges:\n+ description: |\n+ Usage of BD71828 GPIO pins can be changed via OTP. This property can be\n+ used to mark the pins which should not be configured for GPIO. Please see\n+ the ../gpio/gpio.txt for more information.\n+\n+required:\n+ - compatible\n+ - reg\n+ - interrupts\n+ - clocks\n+ - \"#clock-cells\"\n+ - regulators\n+ - gpio-controller\n+ - \"#gpio-cells\"\n+\n+examples:\n+ - |\n+ #include <dt-bindings/interrupt-controller/irq.h>\n+ #include <dt-bindings/leds/common.h>\n+ i2c {\n+ #address-cells = <1>;\n+ #size-cells = <0>;\n+ pmic: pmic@4b {\n+ compatible = \"rohm,bd71828\";\n+ reg = <0x4b>;\n+\n+ interrupt-parent = <&gpio1>;\n+ interrupts = <29 IRQ_TYPE_LEVEL_LOW>;\n+\n+ clocks = <&osc 0>;\n+ #clock-cells = <0>;\n+ clock-output-names = \"bd71828-32k-out\";\n+\n+ gpio-controller;\n+ #gpio-cells = <2>;\n+ gpio-reserved-ranges = <0 1>, <2 1>;\n+\n+ rohm,charger-sense-resistor-ohms = <10000000>;\n+\n+ regulators {\n+ buck1: BUCK1 {\n+ regulator-name = \"buck1\";\n+ regulator-min-microvolt = <500000>;\n+ regulator-max-microvolt = <2000000>;\n+ regulator-ramp-delay = <2500>;\n+ };\n+ buck2: BUCK2 {\n+ regulator-name = \"buck2\";\n+ regulator-min-microvolt = <500000>;\n+ regulator-max-microvolt = <2000000>;\n+ regulator-ramp-delay = <2500>;\n+ };\n+ buck3: BUCK3 {\n+ regulator-name = \"buck3\";\n+ regulator-min-microvolt = <1200000>;\n+ regulator-max-microvolt = <2000000>;\n+ };\n+ buck4: BUCK4 {\n+ regulator-name = \"buck4\";\n+ regulator-min-microvolt = <1000000>;\n+ regulator-max-microvolt = <1800000>;\n+ };\n+ buck5: BUCK5 {\n+ regulator-name = \"buck5\";\n+ regulator-min-microvolt = <2500000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ buck6: BUCK6 {\n+ regulator-name = \"buck6\";\n+ regulator-min-microvolt = <500000>;\n+ regulator-max-microvolt = <2000000>;\n+ regulator-ramp-delay = <2500>;\n+ };\n+ buck7: BUCK7 {\n+ regulator-name = \"buck7\";\n+ regulator-min-microvolt = <500000>;\n+ regulator-max-microvolt = <2000000>;\n+ regulator-ramp-delay = <2500>;\n+ };\n+ ldo1: LDO1 {\n+ regulator-name = \"ldo1\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ ldo2: LDO2 {\n+ regulator-name = \"ldo2\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ ldo3: LDO3 {\n+ regulator-name = \"ldo3\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ ldo4: LDO4 {\n+ regulator-name = \"ldo4\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ ldo5: LDO5 {\n+ regulator-name = \"ldo5\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ ldo6: LDO6 {\n+ regulator-name = \"ldo6\";\n+ regulator-min-microvolt = <1800000>;\n+ regulator-max-microvolt = <1800000>;\n+ };\n+ ldo7_reg: LDO7 {\n+ regulator-name = \"ldo7\";\n+ regulator-min-microvolt = <800000>;\n+ regulator-max-microvolt = <3300000>;\n+ };\n+ };\n+\n+ leds {\n+ compatible = \"rohm,bd71828-leds\";\n+\n+ led-1 {\n+ rohm,led-compatible = \"bd71828-grnled\";\n+ function = LED_FUNCTION_INDICATOR;\n+ color = <LED_COLOR_ID_GREEN>;\n+ };\n+ led-2 {\n+ rohm,led-compatible = \"bd71828-ambled\";\n+ function = LED_FUNCTION_CHARGING;\n+ color = <LED_COLOR_ID_AMBER>;\n+ };\n+ };\n+ };\n+ };\n", "prefixes": [ "v7", "02/12" ] }