From patchwork Sun May 6 01:26:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10382529 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B4CFA60318 for ; Sun, 6 May 2018 01:26:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB4A228C0F for ; Sun, 6 May 2018 01:26:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FFE628C20; Sun, 6 May 2018 01:26:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FA7828C0F for ; Sun, 6 May 2018 01:26:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751775AbeEFB0Z (ORCPT ); Sat, 5 May 2018 21:26:25 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:40085 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbeEFB0Z (ORCPT ); Sat, 5 May 2018 21:26:25 -0400 Received: by mail-it0-f66.google.com with SMTP id j186-v6so7646607ita.5 for ; Sat, 05 May 2018 18:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D8mHaqWnoJyfykW9cAFFEwEzRwjMcPx8vn5RZTNEiu8=; b=eeGtoGYSH3EPFJyKVXaeNC011pvUMjI8djYrqkuntKsXquIFopzDsJWeNENManxm1w CpqUP9du7Rttz9CmLPI6FMdGHQYmIR9o1NIpX8eqzI1v6SEBJrnNkT8RdoZiiCydh+48 F8ij1JfuBzaB2Lnsk90QHJicPMwuR8Edhh9zoWZoBRD9ZlTlwTsBkk8iWYrHa+yBMiCs EYZ2UuPBpN3KaQhFakGTPvDOv74s56OnsPy/lXoc0WwD2YcICS6RI5wh9Tz3LA3nbtjK wTU/KSngns/McLVXB+sr0J63nljJIU1ea4A50lI/Kvfrc+aD7kAOCLC8QngQWQKZxlwk 0MpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=D8mHaqWnoJyfykW9cAFFEwEzRwjMcPx8vn5RZTNEiu8=; b=i1gn6dbiyYjTJMOgTpMfpjVZehzFccD6pcg2S+m3DOyB9xnLY0WSt0KsxjSDII82Wn 4i9LRXxZEaeQPoBnFBWxm6okqwcha3MX4frtiN4iEaX13hG9so9yezAqwCBBPwyQso74 1iABuXRFmqUDZPSGCNIU704D12DWUeRUeBCLok24NbpKaDPUdtIWKTOF8hCcpV7rVzcr xfmrCcOHSuznWYPoOOIqePXaD3CFrtXkZ7sJGrzj4twOp7ibRcNfy3As+PJUZMb28JXg 5lDq5uf0ItYf0bT44Uhj2QvNPzDx5LL02dFLowWLdK4OlHO4lncfV+EzahF49Pxlbj0U ElEw== X-Gm-Message-State: ALQs6tAWK/0/fgRjG0NJ+L6xaOsL93i6coyfk7D88endbxOSzvaCh0nf Z63vXsLIX4gMBMMK8MjPVimpsA== X-Google-Smtp-Source: AB8JxZqjD/8LvHSv8ZJb1cmgnXZRA5BrEWo01DzzCcVZ3zuCjL4RLjhCu7uPsBagY4iWASyrHRp7wA== X-Received: by 2002:a24:c4c1:: with SMTP id v184-v6mr29987885itf.41.1525569984023; Sat, 05 May 2018 18:26:24 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id m89-v6sm10338349iod.1.2018.05.05.18.26.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 May 2018 18:26:23 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: woods.technical@gmail.com, adam.ford@logicpd.com, Adam Ford Subject: [PATCH 3/5] ARM: dts: am3517-som: Add TI TPS65023 regulators Date: Sat, 5 May 2018 20:26:09 -0500 Message-Id: <20180506012611.6949-3-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180506012611.6949-1-aford173@gmail.com> References: <20180506012611.6949-1-aford173@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds the common voltage regulators used on LogicPD's AM3517 System-On-Modules. Signed-off-by: Derald D. Woods Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index c7c7b61e73bc..eadd83f265ca 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -34,10 +34,6 @@ status = "okay"; }; -&i2c1 { - clock-frequency = <400000>; -}; - &i2c2 { clock-frequency = <400000>; }; diff --git a/arch/arm/boot/dts/am3517-som.dtsi b/arch/arm/boot/dts/am3517-som.dtsi index bf7b975d0224..483b2be774d7 100644 --- a/arch/arm/boot/dts/am3517-som.dtsi +++ b/arch/arm/boot/dts/am3517-som.dtsi @@ -36,3 +36,54 @@ #size-cells = <1>; }; }; + +&i2c1 { + clock-frequency = <400000>; + + tps: tps65023@48 { + compatible = "ti,tps65023"; + reg = <0x48>; + + regulators { + vdd_core_reg: VDCDC1 { + regulator-name = "vdd_core"; + compatible = "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + }; + + vdd_io_reg: VDCDC2 { + regulator-name = "vdd_io"; + compatible = "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vdd_1v8_reg: VDCDC3 { + regulator-name = "vdd_1v8"; + compatible = "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vdd_usb18_reg: LDO1 { + regulator-name = "vdd_usb18"; + compatible = "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vdd_usb33_reg: LDO2 { + regulator-name = "vdd_usb33"; + compatible = "regulator-fixed"; + regulator-always-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + }; + }; +};