Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp539619rdb; Fri, 26 Jan 2024 03:32:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1P9rp+jVwVNpuJRXpJdRHHhe8WNEv2xxwOJySDfvEvX1RgUWqwwN8G6r8Hp147oR9zU6+ X-Received: by 2002:a17:902:da8b:b0:1d7:4cf0:60a7 with SMTP id j11-20020a170902da8b00b001d74cf060a7mr1025916plx.36.1706268758447; Fri, 26 Jan 2024 03:32:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706268758; cv=pass; d=google.com; s=arc-20160816; b=E4901wDKeW6DwisGm2eQ0Ozh3+AMptmXKimR0heRL4oPP28K1/SEDXOXo+lAs9RMCB Fi6TRaSxeI5PffyJHCs/jlRJnjsVbok2cFdHv5ZFNfi4a2vAjN/9WAJWfWEO4w+kepr/ KzKk8S+VfMuMVjjMAflrJ6oKsfSI+06GYKUOEml7g8uODTA5fI0sOWLWID2cXI1mYDXx laveiUMa1M8unMfQWYAa7tiUxQ8AbbDIKgyfHILIRKgR8xQ79zIRxnTPIGVQ+Qwgw/kh lwtrZvt8PjJ//k8wOr023eo6Bj7XbYunQuPh6Ji7aZ6/vVlZMQAJvjFRWwE2w5JJIVZ6 pm5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4MpsuS1RISyLieZhG+nOiB9EUsr5IB8MOc8CVenn3tg=; fh=OgvZzNM+gjPBU/pPnhJQzUNIm6lH6onWWgo6kbdSpT0=; b=cYMw7YKw2FQsW0P+o8jpNnrHx9ohWph47XCY9rCO/Q6CDa5qpBwhJoiwiwEvZC+f2W 5/Rm++A6ifGF9jSUa/lrSXOaDsJEY26KTGLaShl6PmG05hrdYtPAmwYVD3MhNx2ENQ5b peY0j3Al2gIOuEV8aP0eRjw1dOnxTfWWViB6ypgJ1J7hrIM5im9soxu5EI01xq46p6lN 6bbYHuYTUM/X+599Jgu/2fszy4M4VAluQfN3Oy3RACcF918rkS45DzBTph5xhivH3jjx Nw3i720BKg4g9SjNEUxmtaAy/kCuK04LYIMrQd45fH22xvvAQqMVzTuS+xL9cqW/dciQ 7qTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=Iv99MF2k; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-40045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c4-20020a170902d90400b001d896518531si954030plz.644.2024.01.26.03.32.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:32:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=Iv99MF2k; arc=pass (i=1 spf=pass spfdomain=9elements.com dkim=pass dkdomain=9elements.com dmarc=pass fromdomain=9elements.com); spf=pass (google.com: domain of linux-kernel+bounces-40045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1F95528BE24 for ; Fri, 26 Jan 2024 11:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 781DF14265; Fri, 26 Jan 2024 11:30:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="Iv99MF2k" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 353D81118C for ; Fri, 26 Jan 2024 11:29:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706268600; cv=none; b=nzx8uTX/hayNfd6HvJmdGynSkzmvfSdHCLgR/deBoe3M8R6DZ3WfXqkc8VNFkMWbry591TRhTcP98PNjh6aGoCyU24aq07yfAtkZ20hPhD8tyOuL7SBiELtGvZJARdV8RSmz0ynmZ9R0TPJOOIz7WBq7/KZRfVf80KlkmICzf4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706268600; c=relaxed/simple; bh=kk8TW/ENv6T0jmFy9Fe2+TbD0NwhTcZRKCATFbVXU5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V2QuLkMjnpZKA3vD2AILKLGkqC5+1kByeMy5ZEJ8rc7g/BLxqkGL4HLz7303E5B0JB5QV/zoi+XRVQdqiaBf/f49Fy3bSlP5wmdVz3+dZ5zqdmNpAj6bmA3lkCPpNgC7kkDqWIhJc0Ur4sEV5zHCQJLJQ0KHbZ/l9hmBtBAwFQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b=Iv99MF2k; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40eccccfce0so3939835e9.1 for ; Fri, 26 Jan 2024 03:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1706268596; x=1706873396; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4MpsuS1RISyLieZhG+nOiB9EUsr5IB8MOc8CVenn3tg=; b=Iv99MF2kSSEJGJY2SZq2G/qhZ0/3ytHYOkTRoy7bzw7AkwjNpKKDqfMGQNonCVsA2X RqdrvIfrbei+JIgmhpGt8y+ctkgE6mOpx7iA3VDOrH8M5pph3NGH9woIVbC1bAculiBw rX9Tlhs6NW4fnNmzXcLeGP1kA1/x2/0o83h3nHrhkLnh6W4Fpf9KTuxbkFb7dUQG8FpK qBXrWHV4pM0kqK30Sq8SeFSAg3lG96cvpqysCXRIQt8htqlWcGPR55MR4GqyOUr6IQSq Oa53djDYl4mCUwwNOL+b82DtaQh8gjTkx0OUiys+J+knfr/HpEOGAAsN8Hp6+A/Nciv/ BFIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706268596; x=1706873396; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4MpsuS1RISyLieZhG+nOiB9EUsr5IB8MOc8CVenn3tg=; b=u55lHkoS8l9PsuormGCGHJndL+DSwhK4KYMy5wga7fi+jkxqh8si43QNJEFz3f30t8 wdNx/+Zo4vRWbvFnHVhddUfSHXc/XKV9OH1yPFP+e75qfNwN3NRuf7iQVqaiqMba/amO 3VkBY7JJGjxfrBhq3OCnD32eeQje2p8fMokm824WcPqf5QOflg6noP/AEH06qNT/cbT+ gnPV7ZdbxvPEDdJcnlAAx4OMTqK06guzkRquc30KbIjoLISEEAs/QoWmlzJnVkNQElTu WJQpdghIaGGnp5lTkIQh6PY8DjKe78JhtusiIslqleyADmBC5A2WLp7RVjTbY3xW2J+/ bQOg== X-Gm-Message-State: AOJu0YxAm/ow5ZGESMhBGt0jX2lKCwQ0k1Qol5EBum+dnEC1fbN3baPX eQvwXgAD4FWS8wsTKwqb+NxmkiE+96l3xCysQSG22nZM03ip55Hpjsmnl4UiPKc= X-Received: by 2002:a05:600c:5247:b0:40e:44ad:4645 with SMTP id fc7-20020a05600c524700b0040e44ad4645mr810415wmb.3.1706268596440; Fri, 26 Jan 2024 03:29:56 -0800 (PST) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id p13-20020a05600c468d00b0040eaebc4e8fsm5523313wmo.1.2024.01.26.03.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:29:56 -0800 (PST) From: Naresh Solanki To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Naresh Solanki Cc: mazziesaccount@gmail.com, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: hwmon: tda38640: Add interrupt & regulator properties Date: Fri, 26 Jan 2024 16:59:44 +0530 Message-ID: <20240126112945.1389573-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add properties for interrupt & regulator. Also update example. TEST=Run below command & make sure there is no error. make DT_CHECKER_FLAGS=-m dt_binding_check Signed-off-by: Naresh Solanki --- .../hwmon/pmbus/infineon,tda38640.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml index ded1c115764b..2df625a8b514 100644 --- a/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml +++ b/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml @@ -30,6 +30,15 @@ properties: unconnected(has internal pull-down). type: boolean + interrupts: + maxItems: 1 + + regulators: + $ref: /schemas/regulator/regulator.yaml# + type: object + description: | + list of regulators provided by this controller. + required: - compatible - reg @@ -38,6 +47,7 @@ additionalProperties: false examples: - | + #include i2c { #address-cells = <1>; #size-cells = <0>; @@ -45,5 +55,15 @@ examples: tda38640@40 { compatible = "infineon,tda38640"; reg = <0x40>; + + //interrupt-parent = <&smb_pex_cpu0_event>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + regulators { + pvnn_main_cpu0: vout0 { + regulator-compatible = "vout0"; + regulator-name = "pvnn_main_cpu0"; + regulator-enable-ramp-delay = <200>; + }; + }; }; }; base-commit: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7 -- 2.42.0