From patchwork Thu Oct 29 15:15:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Whitchurch X-Patchwork-Id: 1390213 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=axis.com header.i=@axis.com header.a=rsa-sha256 header.s=axis-central1 header.b=LYUKZsxV; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CMTY02rP2z9sSP for ; Fri, 30 Oct 2020 02:16:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728007AbgJ2PPy (ORCPT ); Thu, 29 Oct 2020 11:15:54 -0400 Received: from smtp2.axis.com ([195.60.68.18]:28898 "EHLO smtp2.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbgJ2PPy (ORCPT ); Thu, 29 Oct 2020 11:15:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; l=1395; q=dns/txt; s=axis-central1; t=1603984553; x=1635520553; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EeIIJT1gCQfMsHZdJKBhBlztMLv9rHpY1PvK4SewrQo=; b=LYUKZsxViOKNOdhNmjU/Zy9DC9tTSMi3sb6SJnjaAEOdV21KADUNGy+M 07B8e4+/hIq2jMqNNbny4VaWK6Lr8pCvsGts8A7zo56NfFelN38fRKIOS eZA1GRF5N4d+WZORDeH8BZNSxRzaieF3gQk7yalRiWTUvg6W6TDkH2prg ENel2B0HW639XDdCnwOQ9Hsd2lCQKM6Pv3dgjQx3B0Iy+bWErsjGYXNP3 YO3bTOJrpSYAQP8lJfqgmpCPIZ0mp9+AIBHFgSwMbRSACGzFfZGTt5q4b Agw4gri8yIlNYtDR+Kp8uEGc0PckNs0y2+8yGykO2kFOrwYhdY3s1LNW1 Q==; IronPort-SDR: Fkscksm8bkMFMgDRNalXjfNU7UQo25DeXYYyYhKl5mfptS0CUKmX31gC76CiiL6PMe9ekkBc9S Z4Kh66G4zpY7sJPc7HWYSyeBeY30EutMY7+4hkRDlbuNOFxJFzz88SM2mhHl5LhPb/PfVikUyW PrqO3NNAZiD0Tk/wia3uMIH1UGMWvuHickdUfhOEyQTfLATRLvg7bsEUOKaGYQrQ3TNXUG56Ny vFPsToGJKkHEBGErVMgsAxmi4B7D5HLrp4yKhi3Z28GUjwg+bFkpALEzTAAWrOFYSm08gH2GsF kuE= X-IronPort-AV: E=Sophos;i="5.77,430,1596492000"; d="scan'208";a="14049651" From: Vincent Whitchurch To: , , CC: , , , , Vincent Whitchurch Subject: [PATCH 1/2] dt-bindings: regulator: Add DA9121 Date: Thu, 29 Oct 2020 16:15:37 +0100 Message-ID: <20201029151538.23463-2-vincent.whitchurch@axis.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029151538.23463-1-vincent.whitchurch@axis.com> References: <20201029151538.23463-1-vincent.whitchurch@axis.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add bindings for the Dialog Semiconductor DA9121 voltage regulator. Signed-off-by: Vincent Whitchurch --- .../bindings/regulator/dlg,da9121.yaml | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/dlg,da9121.yaml diff --git a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml new file mode 100644 index 000000000000..2e67cc164da9 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/dlg,da9121.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dialog Semiconductor DA9121 voltage regulator + +maintainers: + - Vincent Whitchurch + +allOf: + - $ref: regulator.yaml# + +properties: + compatible: + const: dlg,da9121 + + reg: + maxItems: 1 + +unevaluatedProperties: false + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + regulator@68 { + compatible = "dlg,da9121"; + reg = <0x68>; + + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <825000>; + }; + }; + +...