Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp546097rdb; Fri, 26 Jan 2024 03:47:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCP8oH/bQaIXAmnoFWZvhsNfCslxiKULwBuehuIc0q9m6Cbf+EVYFwZU6af8EDIvO3FpI9 X-Received: by 2002:a17:907:38c:b0:a31:6587:8abe with SMTP id ss12-20020a170907038c00b00a3165878abemr702815ejb.48.1706269646770; Fri, 26 Jan 2024 03:47:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706269646; cv=pass; d=google.com; s=arc-20160816; b=L/brwQyeYLAIT9xjmYyGZdy6CDEog6KzVrnO8i8YeiuVlovqbCTvi+Vfshi6B5SJpq fYuzylvhu9tFXu+Ygp1W0UNoNEnUtnlwR4gWC3wnGVGsqrS9x+K8uw5BvGLahBL6kxm0 s1XgfmPXU39Q0xgcsE0oBHhOoY9YaDXnSZ3eNA4AePMY7xXS7hcxEQ3R42PdN8LPuLXs sZohAhoC9/lhU3onibbRtIHVUq5m45279RWTAYr0tWRpzfmZh2mpQm8TVPvsJE7UrqgZ 78hjwqZienp9d8yJqIZ/I+YL3YaSt0id7C4FHG6PiCug+cKWiYSC/7AlXdzP7VKf9bxs t+bw== 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=gBNfFDWRGxc5HogyZttW4uFMPBW85vTV+PElgd3Td0k=; fh=D0gDRohX/PUHzU2bSGfgmmLTrHXwpxyJxhDGAYO/wCo=; b=vz8AJME+qAmHluwQE8hito+9AC4JiMik8MV3zYMXHM8kIwcc4Zaruu7cwfeqThLxAc rmF+kO41E9Gj5pv6wDj6sVcCNMoeq7qqZtypIWSjgFRz6SSCIp27sKlGv0P5sbjK5Mk+ FK6sGIGI6QhGANNrmsMSyLpse1zkTW4fx/wbBPqqF1WKUKWAgQSgmmaZsp6DssYel7CH nXUAs2+95P4p7neeqQTB5QCCbIrVOuB31DlMxj62QFwBL05oS35Gq9DPWCAuA5NeCsa9 Qfk1Uei6TwouzYzohjrqsKENJhyIg4zJvcP3Ig9JgBMSP9p+7qJwRfIQc2JCP5egbT58 TQiw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=Bx4W899V; 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-40064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40064-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c1-20020a170906170100b00a2e83b00d1csi491667eje.498.2024.01.26.03.47.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:47:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=Bx4W899V; 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-40064-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40064-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C66341F29890 for ; Fri, 26 Jan 2024 11:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FC8F18EAB; Fri, 26 Jan 2024 11:46:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.b="Bx4W899V" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 E13BA1947E for ; Fri, 26 Jan 2024 11:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706269587; cv=none; b=AExVpt7w3CoZ6ovqJnJr8i6KoihuVLrwH4lzGiXnxmb+a3Mcsl0R6Kbf6mc20RDkwIYBpG1fhS/4vswUAeHFpH6MYQZk0Nbr+SllMC5rkJVLDLSMCBWERXB2fDhPPIXnav8pBb8yUoFhTZZu4b7Wia7IRofUiLpG9Y86br1ZB0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706269587; c=relaxed/simple; bh=MYgTpznrzXaD6fYHjmBAqa58IYtxhCWEWhjaZObhnWo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fPQ7OxCPvCXQSi/h7Dl6G7Ts/J6lvzM1uYEyiw/PJq/F1rojBrtyg9a6tesQWSnkHdlwEPTbLRebh6+g+85LpOuqA4Fxrxfc7DH0bZDItUB3gGNkBgR21l4fNoi/IWCYaE5nni/HrCOJqdRyIZnU0s/davWKNU6irz5vxVr5rV4= 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=Bx4W899V; arc=none smtp.client-ip=209.85.128.44 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-f44.google.com with SMTP id 5b1f17b1804b1-40ed2333c8fso4727465e9.0 for ; Fri, 26 Jan 2024 03:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1706269584; x=1706874384; 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=gBNfFDWRGxc5HogyZttW4uFMPBW85vTV+PElgd3Td0k=; b=Bx4W899V4SAirmb8TeBavpd/JgCUl/glxnURNppgpeWxp3vDokjm/9faPKYhrpu2qK YWdtVuzBU/Bb0pfJ0b5VWHzdudghKLFCxPiNtDQLnAkDB0lIkrl92zUHUU92zt5XiFU4 fL6foluXvxtxmO0EZglIEeMdwabvh++Pz5Y4C+cu65FiByxjeYWNE/e8SmQLxBcDR46c FzXrzIeUtKgj+sOlvPqtOGiSrJq7gQWMGLQYAVgoWcUatX1tZWlQ6HXbYISPYHQeqhi0 HYjjRbWpmlPX9J0IFU4UlLBe++seB92V8+6JWLbCjNJCZZ+pPWF2NZDGR3OHLiTg5jwX NeEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706269584; x=1706874384; 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=gBNfFDWRGxc5HogyZttW4uFMPBW85vTV+PElgd3Td0k=; b=HfPpegNwcvZxVevBRE2I4z/dI3Rr+SMm1r1+0uy9jTcce0Ygj4uhiKa8V9nTY5F22t 8K70ASE/6yZxpkXUVhfUrzjCo0KSUBw69416xBqa3DsBOYF0zda/M3c/JaON5TqsYU++ 0MB0xaWnJZExrIpceF2OMDHUD37wle6LnX4RfbuiOOcgFdZIDSspO421iKibtX2RB9Su 0yaclU0e3G0i3o+eVKxL0BvlF3xL7xBDoYZjzSyzrXKy1P3S8EcYi5ugLLZclqTWO4kw h8Me6WYDlw0b1Lz8k6ga3iOeLzxBsbes0cqfxAzQgz8tLn1CVuaHXXzJJtprX8go4JPo gLtQ== X-Gm-Message-State: AOJu0Yz/2CCXKMguOpC9YkpPzIovIQCkBhvcLGXLf3l+6pQW7MC7iTu4 buLFBLheUDr5KqY/TzgE2i78fXKY7id+JNJVTAls7p0WRaPWiUH2cNeweQQnm4o= X-Received: by 2002:a05:600c:3ba2:b0:40e:62d8:3321 with SMTP id n34-20020a05600c3ba200b0040e62d83321mr750444wms.34.1706269584076; Fri, 26 Jan 2024 03:46:24 -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 vh10-20020a170907d38a00b00a318be03519sm542518ejc.105.2024.01.26.03.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 03:46:23 -0800 (PST) From: Naresh Solanki To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Patrick Rudolph Cc: mazziesaccount@gmail.com, Naresh Solanki , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: mfd: Add regulator-compatible property Date: Fri, 26 Jan 2024 17:16:14 +0530 Message-ID: <20240126114614.1424592-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 regulator-compatible property. 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 --- Documentation/devicetree/bindings/mfd/maxim,max5970.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/maxim,max5970.yaml b/Documentation/devicetree/bindings/mfd/maxim,max5970.yaml index 0da5cae3852e..75175098cbc2 100644 --- a/Documentation/devicetree/bindings/mfd/maxim,max5970.yaml +++ b/Documentation/devicetree/bindings/mfd/maxim,max5970.yaml @@ -74,6 +74,9 @@ properties: description: | The value of current sense resistor in microohms. + regulator-compatible: + pattern: "^SW[0-1]$" + required: - shunt-resistor-micro-ohms @@ -111,6 +114,8 @@ examples: regulators { sw0_ref_0: sw0 { + regulator-compatible = "SW0"; + regulator-name = "p5v"; shunt-resistor-micro-ohms = <12000>; }; }; @@ -145,9 +150,13 @@ examples: regulators { sw0_ref_1: sw0 { + regulator-compatible = "SW0"; + regulator-name = "p5v_aux"; shunt-resistor-micro-ohms = <12000>; }; sw1_ref_1: sw1 { + regulator-compatible = "SW1"; + regulator-name = "p3v3_aux"; shunt-resistor-micro-ohms = <10000>; }; }; base-commit: ecb1b8288dc7ccbdcb3b9df005fa1c0e0c0388a7 -- 2.42.0