Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4231193imw; Tue, 19 Jul 2022 02:30:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1syWsdwVvEzG5AohIJZ8eMyyjg1crTINADcwRT5kHEkTnqtlgciK/S+VSlgkYUGkQ5kmleI X-Received: by 2002:a17:903:451:b0:16c:b873:4a8 with SMTP id iw17-20020a170903045100b0016cb87304a8mr25345895plb.47.1658223057927; Tue, 19 Jul 2022 02:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658223057; cv=none; d=google.com; s=arc-20160816; b=W65pzPCMjJH6EF78qOt6hmU6/YJ8a+H8biwRBgQ4HHDQHmxXXjvJvMbTkNEBrx1+Nd szUS6M16iSBt6rLo2LzJQc4qjPuu5OGa8Ou1/jKZR/ze4sBEmkXefgkeIIJsvnSiz/oM LUo19wC5sRiZRFHV3WFylnzzpoFEnZPwLY8MUYA9AG2dX1X2unKrpGP54cYf+Kicstjb KVNzHICajn5yfqW7BQ+7ehVhPWvymIkVAxaxX8VfIy3HT8I4d7W241dHaOxJME6E2fJT jus1tihut1ngLJsAAgoBAk3xtGYm8QzmfQiQlnhOqjGkw4X0IrBh0DMk/QcsqH+0NbcS MOKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=gWwRESa9J0yNbZSjwboqJyHJMna1CUnVXKB6rAgRc4g=; b=E/1TX09zPDfQn7t12zwaRAM+SBQVyFnX4U8dUX8bqraS0w8ZD/w5gybUDd2DIeufrj diBjUQBqon/MGRHHht3vGyLoMRicfXxwiV6rhko16hSxA8tHWwbWJqnAJL4cm/TNurkY 8W9JUSehrvjLBiK7D0/EczqJ0Yc7Q+slWaOayYx26KlbbZgdeZCaXyul1TCZeqtf+2oc e52Vnt9ht3SIIn4Ft1r+S0e8s3Bv3TYOrNaLOCZE0pCY9KJzZe3laqNXVhPfiDqC5oIN ZwUbuCKNKRjj1U85kcWhplvNlSPDdbC0M2/E0JlEKuMjFWv+rDGBqdXiK9Ay/kE4GW7M NGxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="4Rkw/Zz4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a056a001a8b00b0052b18a7d185si13759955pfv.263.2022.07.19.02.30.43; Tue, 19 Jul 2022 02:30:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="4Rkw/Zz4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237177AbiGSJSE (ORCPT + 99 others); Tue, 19 Jul 2022 05:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235828AbiGSJR4 (ORCPT ); Tue, 19 Jul 2022 05:17:56 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BEAD1FCD5 for ; Tue, 19 Jul 2022 02:17:55 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id u14-20020a05600c00ce00b003a323062569so581872wmm.4 for ; Tue, 19 Jul 2022 02:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gWwRESa9J0yNbZSjwboqJyHJMna1CUnVXKB6rAgRc4g=; b=4Rkw/Zz4aSmR3I3I7F+AgW+Uia1wlPtvYovolwnrfGK9xqXvg5XZPl34TOFoDx/i4/ eWL1RcNZDXoN/82lrZmVNs/XL91axqmAUiNScqUVEwZrkrvQq3+mebIu3ObkL2aBF1eJ C/TSqe/Sm0yWqmZQyhxwnJ7OKxurPdrDxp4lRu6vHLydeaAiUjwOGX8AQ952PLyheLNp 1NKI5m7OIFq9AZg00WW2mRbAHiSHphKiIaDo2QzM+nFbBm/wf3hqyzeC5IIdxnA61lmF SxpaVCP3yoEEsncqf2hvGkxIG56WBx2U61mg0NoVux0NuuFtdc+QaJztHeeFHfcB5E0z 3D0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gWwRESa9J0yNbZSjwboqJyHJMna1CUnVXKB6rAgRc4g=; b=XtHaZqnmB2uNPuts9MEhAhR7AoSa7z0UEzWr6d2c9cNlvsuEKfdSVqwvmodUWwaFuB cYiRcBHRUvCPeINnQkV3fXxJ0/4Km6LXzpXveiISYB2ZLmj3tqv4ZKU7Q/5h8+ZN3XuY GOeFZcUz5sFHE62ItcTuhse6voWW9uqArFCPac15rbGRgi3P2sUmA3bobih5D+dt9dkV 16HeQukImd+L+JrO6vrwscLiQM4ypUIQN024ZwBDBGStVh0XcG65X0hja50w4TRrVOWN QJbvPhfJsn/gcR0At7kc4lTswBO5Mti9aaRmXEHm/la8w9V8mOqoefXVArXZiGPaDI6H miag== X-Gm-Message-State: AJIora9g5Y5L4NYUK/hggw1cqdwT+EBVg2xdrOSn7sonmBEDjbtG00tL 4RS4jpY0fYQLdqWZF+zUL7llpA== X-Received: by 2002:a7b:c314:0:b0:3a0:5750:1b4a with SMTP id k20-20020a7bc314000000b003a057501b4amr35516371wmj.20.1658222274088; Tue, 19 Jul 2022 02:17:54 -0700 (PDT) Received: from localhost.localdomain (192.201.68.85.rev.sfr.net. [85.68.201.192]) by smtp.gmail.com with ESMTPSA id bk19-20020a0560001d9300b0021d63fe0f03sm12944281wrb.12.2022.07.19.02.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 02:17:53 -0700 (PDT) From: Jerome Neanne To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, nm@ti.com, kristo@kernel.org Cc: khilman@baylibre.com, narmstrong@baylibre.com, msp@baylibre.com, j-keerthy@ti.c, lee.jones@linaro.org, jneanne@baylibre.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 03/14] regulator: dt-bindings: Add interrupts support to TPS65219 PMIC bindings Date: Tue, 19 Jul 2022 11:17:31 +0200 Message-Id: <20220719091742.3221-4-jneanne@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220719091742.3221-1-jneanne@baylibre.com> References: <20220719091742.3221-1-jneanne@baylibre.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add interrupt properties in PMIC TPS65219 bindings Signed-off-by: Jerome Neanne --- .../bindings/regulator/ti,tps65219.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml index 2c655432b889..6a60e62a313c 100644 --- a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml +++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml @@ -25,6 +25,17 @@ properties: description: Optional property that indicates that this device is controlling system power. + interrupts: + description: Short-circuit, over-current, under-voltage for regulators, PB interrupts. + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + description: Specifies the PIN numbers and Flags, as defined in + include/dt-bindings/interrupt-controller/irq.h + const: 1 + patternProperties: "^buck[1-3]-supply$": description: Input supply phandle of one regulator. @@ -71,12 +82,16 @@ patternProperties: required: - compatible - reg + - interrupts + - interrupt-controller + - '#interrupt-cells' - regulators additionalProperties: false examples: - | + #include i2c { #address-cells = <1>; #size-cells = <0>; @@ -92,6 +107,13 @@ examples: ldo3-supply = <&vcc_3v3_sys>; ldo4-supply = <&vcc_3v3_sys>; + pinctrl-0 = <&pmic_irq_pins_default>; + + interrupt-parent = <&gic500>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <1>; + regulators { buck1_reg: buck1 { regulator-name = "VDD_CORE"; -- 2.17.1