From patchwork Wed Apr 20 08:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819905 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC130C433F5 for ; Wed, 20 Apr 2022 08:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GxWea2ufIjd35/HC9qi8NdzNigG/uKmMAL8u5biBMH8=; b=ddRIs2Sz35T5E/ aIk/zm1BaDkBkvisXutFc1dXHWQn+wWCQU78dtvQFBYyUfErlGSg1x4wRyfUxYvtGgOKgvrswLKoG r1vGYODrIZ8pKau6p1+zDDERAfP8sJmZKQH92pFumOJos5jB+ul2+AeZ2pfrQaRxtgXRXVHSWo3ey Qrxk9b87+CUyd4MUxozz+WlpMRh1M+phMJTGD5fQ6vu4GY452T5HPbsCsPX2qpfxpz/nCmgWrZUBV 8Ul01Gwx8/4dFdtD9q8Fwb0+nWQl7D9o6WjLKKpmSffTVBt2BirX1FJduMEnTiE/Rtk3+gcsOy57M IIbdqs/cUzTSKEyqI+FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rl-0080XC-4Z; Wed, 20 Apr 2022 08:12:21 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Ri-0080VM-7T for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:19 +0000 Received: by mail-lf1-x136.google.com with SMTP id p10so1407405lfa.12 for ; Wed, 20 Apr 2022 01:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7zTyxJjHjKsT+HORnYo6QWvMSKgfPSY3B8B3QffjhY=; b=pgVZjGpWsE7nwm/Bnx/wDFx99mT055ZhJVjojUNcb36JfxksD14BTygydpAbVvwsJP l67APyfh81gT5fuAGUOYSZE4G+UbGZyIBZ/JsttaBSWPjhFtXP31Gg6qu4wUDMej0KqU G7zOYqUZWGErmPQz24x7CORFLKQktNVSTtgOduc3nrd8E7llbeX4IsfP5qasuP3O/IIM /bxv5FZlpZrJC44p0aPl8dB/QV+xgUePyXzp9mpnODocMiFki4nKeH0dosHXARrB5tfb kdD/ewWmlvh2fqgQRaklHVT6yHvDBfC0zZNnOw74NSFq+xn6hjnp8Rk//nDrmDwr195X t7Mw== 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:mime-version :content-transfer-encoding; bh=E7zTyxJjHjKsT+HORnYo6QWvMSKgfPSY3B8B3QffjhY=; b=T+0j3Y1Ivqdbv2FDaJpI7rDgXnLDKIWLjlioRsexceNraYzhg7bp2Gz8sohy+NRRQm AjNw6jNdGWwY0T8bsz1ACOTjhkkFMUAr87yNsELEjPogcGdXcfaMoAQ52p3+MI89kbhG 3fNf/SuQl/FohOgB2fpkAxkgUS35aCs+M5tr7WfVmEnd2Y33vzcIFbCzIRALXZXd2UwD uJU1qLDEN0rUOtrM2kTN/5uLQNHJEvO1v9n9oZdUkqGElGvr786sTfY3jrLmWDKmeAyb aeo/S5CZacs4+0hShTNP55USrsdvaQJrJda3svNhChVBKnv4UBPLP3iMwhQMBib8Fvxt PmRg== X-Gm-Message-State: AOAM531/iU8mcilyVxjYHIOO44XEuqy40eJK02pPmupkLl0krtmpzuVd 1T0j57A+fBr6Sr3sTfdYdgJo/OW5i6JOqocm X-Google-Smtp-Source: ABdhPJw9ko/sIhivBXB/j9GUs891PHs6dyyykK5PAmmbCsHgREv8OHDQDWn+ixkQrHmxyWKnSv09WQ== X-Received: by 2002:a05:6512:16a0:b0:443:3c9c:3d3e with SMTP id bu32-20020a05651216a000b004433c9c3d3emr14149163lfb.383.1650442333406; Wed, 20 Apr 2022 01:12:13 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:12 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Date: Wed, 20 Apr 2022 11:12:02 +0300 Message-Id: <20220420081206.65083-1-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011218_321518_E2592C23 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Updates UART nodes to adopt generic DMA bindings. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 56c8d87864c3..1e20a6639e42 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -215,6 +215,8 @@ uart3: serial@7000c000 { clocks = <&clks IMX5_CLK_UART3_IPG_GATE>, <&clks IMX5_CLK_UART3_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 43 5 1>, <&sdma 44 5 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -426,6 +428,8 @@ uart1: serial@73fbc000 { clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, <&clks IMX5_CLK_UART1_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 18 4 1>, <&sdma 19 4 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -436,6 +440,8 @@ uart2: serial@73fc0000 { clocks = <&clks IMX5_CLK_UART2_IPG_GATE>, <&clks IMX5_CLK_UART2_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 16 4 1>, <&sdma 17 4 2>; + dma-names = "rx", "tx"; status = "disabled"; }; From patchwork Wed Apr 20 08:12:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819906 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33671C433EF for ; Wed, 20 Apr 2022 08:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JXdTQPvxFSYBpX60GqwjZfpApDsy2ONxNP3a34AfFoY=; b=MnMgwm6TUypZvH b4uno+CPt54YBAoZC39zVXtTB1E2TDLogIkeB+i3IsjxCsnSGY+vCm1O3rGFlveVqsmHeALPfkZ7t QGZ831MEDBk1kurSfxAAywG3GU5JmLZeoj8jj50+nhwUnhz4AmDjDsL9/Pdueq2uy0tUKTKEGN/3y h5SJs6+xsFoLVLQuqw168UmENfb+fEkz3KJDBWQ8MZsfnLVbzU/YkokMXahqi7PNZORWpMKaoWL4x nZsscngiVtn1ywI9Qwem3rYS7Zd4TuR5RCSpiFoZJqunPTYOMCyZaLPxkv0FpJv2v0doLQLSJsZEI dXxOAz4Jh/yMu4NaZhaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rw-0080b6-JO; Wed, 20 Apr 2022 08:12:32 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rk-0080Vu-6I for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:21 +0000 Received: by mail-lj1-x234.google.com with SMTP id c15so998907ljr.9 for ; Wed, 20 Apr 2022 01:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R8QQKeZVY0jl0AJHFaVtDAIopzTWfODtCgK1qMlFqEY=; b=AmLQ/4sfa4Dqu0Gq/awYV4npk12F35U6/kOtrD8UtEI7UIeb8cyCkST4axD3o0RJew sFNAVz98xvTdavTUosZHUFvZbS4LxDDy65MKzg6RB0jbOakgszTYmHb6NUAtLnZZZHdr tI7caN5X6cTTYXWdqatPA5QtYHF+gyis5gpTe3db7X+goN3BemnMko1Oijy8r/HRNyzr g/XJCs7RPn7wcnZog1mPoIBBHTJnPSZioGM64N7U7cTxWMFfNZgpD4l1sBeoivm6xPm4 Y+iRvaMTl7K5M/ci0BRAL7s0HDiEik7iWEVRQjyRyaFne4WtlJkPCX7F6JUVqjcsNXm+ YPHA== 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:mime-version:content-transfer-encoding; bh=R8QQKeZVY0jl0AJHFaVtDAIopzTWfODtCgK1qMlFqEY=; b=kM9j9tw1yA6KdPDszJDudfES+gVpuwcZeSni5LK9p4ftBGOF8lxibgKRqnxxIgrrJy twqUUuruPHo77IYvuVZrhx60fYiwTmeu1Ui2caB8IX6y2beFgMtyi9c/uDqiaBbPtioM Va6vbLignzTwMQkzT5rmZR18lqcuN4imlOXop6znw1xziu7S4xhtGPzrQ3nbOfvZl3wx +VdYxXCMvEu/Gi+nZWFyEOYiVpaQn8lUEoa2NfXLZkqVKuaS68VcJgBA9zEYvEeAugHs Mp4y+WhO/BzsUbB00KB/JWfDNsCmhX52OE7F9FQHv78wksMQls9vKZfOBYiioJXuB2qH YA8g== X-Gm-Message-State: AOAM533Xe/XfsNQSZm8qhkUiQ5PNQ8g75DqgpwE5Zy4YOE9ltv+aNnl8 a0zRbFX7xP5UDj3ItPOsSqbOvdvfmDPob+0h X-Google-Smtp-Source: ABdhPJwtVz6kwpMQJBP7ZyKN4hISrnxSlE+I704EhJwCbF8TsS9vRgy1aErctifMgr/wuUZEJfCBOA== X-Received: by 2002:a05:651c:1508:b0:24b:1fd1:37e9 with SMTP id e8-20020a05651c150800b0024b1fd137e9mr12558292ljf.233.1650442335932; Wed, 20 Apr 2022 01:12:15 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:15 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators Date: Wed, 20 Apr 2022 11:12:03 +0300 Message-Id: <20220420081206.65083-2-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220420081206.65083-1-eagle.alexander923@gmail.com> References: <20220420081206.65083-1-eagle.alexander923@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011220_265181_A4B302C7 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org VGEN1, VGEN2 and GPO1 regulators are not used on SOM. Let's remove these entries. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi index 7d4970417dce..20e89cc4c838 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi +++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi @@ -102,18 +102,6 @@ vcam_reg: vcam { regulator-always-on; }; - vgen1_reg: vgen1 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-always-on; - }; - - vgen2_reg: vgen2 { - regulator-min-microvolt = <3150000>; - regulator-max-microvolt = <3150000>; - regulator-always-on; - }; - vgen3_reg: vgen3 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -124,8 +112,6 @@ vusb_reg: vusb { regulator-always-on; }; - gpo1_reg: gpo1 { }; - gpo2_reg: gpo2 { }; gpo3_reg: gpo3 { }; From patchwork Wed Apr 20 08:12:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819907 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CB27C433EF for ; Wed, 20 Apr 2022 08:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+zn8SaYP0OAyhykEKBWWIpzUZCqCcXoH8lJC+vT/ENA=; b=xzgV921zxUHotq oQJpjDzDKyk9O1kFjvi1rcB9jbbAKKzs6cj3UerJICSpYkL85MScg9aGgO6FAiO1T9S1GNGY3mNwg NzxYPPaZ282hh8/FO0+M9UAIpCUmQkjtk+BqlS62vZ/0jNhsN+GaFNjVwwu/8nUa9l9LE1a+ijmPK 8/v5ysbSygso8mW8vHK0aefekKD4wpab+vPC8+7a6ZAPG8WIXz+PlBlahTAKI9PvKbof7ZffGdbbB Y6jcItf43EilSEJZ7X5ofP5b2gj6x5ZGsPQRtJNmNh84mL8OeQdQ50HBxUmztBjdHWOUj5IhH53kL tlF/ilcKQHW7AgBhqw5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5S7-0080dW-Mq; Wed, 20 Apr 2022 08:12:43 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rk-0080WM-Cr for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:23 +0000 Received: by mail-lf1-x12b.google.com with SMTP id g19so1466547lfv.2 for ; Wed, 20 Apr 2022 01:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FAlN/EAxtTgghssO8x7yT5husaNrR/m8z0CnNKP+DrU=; b=VOVCHKVsY0gmFYyvX8f8adsKTWGQaiTPFD/h7yyqj9iZAINzKQc+M/uAzEauX/uNbb 8OxtzPdxAhI8uem25FFebPPhQ5Xh0yQy5UuAg690LvX4R2P4GUPWxH1nbDMC+Hi/hJ8o Bp4VNPu4kYg8PnwTmn5O0UpIQxpN1bQqdt1D0b95+9f+hHg5wsAw2tzQciffx5liN++i NekQyDJHSKNbA9ACXEDsbTdTlGqpUv1PiZ/pnQKEOlBlcgw2nubn1xgw+KXPbrw144kD tpXZQ1sLGLOZYQc7yL/+WFPAUVPZuid2DBdPF6PwGJCAFoqskIkAgg3sBKtxcp+M9SfN 1KVQ== 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:mime-version:content-transfer-encoding; bh=FAlN/EAxtTgghssO8x7yT5husaNrR/m8z0CnNKP+DrU=; b=rhk6OjDfZee5pe4byLot6oNA8Zug7UZwJIs0wsT+v21i6CFkRzjpBtDZUV5ppFq5td y4y1aGOpK1dYUQ3kh9M1Kb2ZgOxMY5PbfvUR0G3Seb/faV3UxI2s9UrSozYi8I6ChHMI D1sEGW0kppjMlXZDNLxy2RgTMDoitcOCCSqwYGKOJFfhEvkGqt5cT0BFo2G8xkrMy6OT uLX2r4SC4kso7XIqnlVQk1HvywiEjuCLsiv02Qtnoojqq6fD+ymuCyTvhhkTokDkZPeT yCyT9hiPz+F2FHEakO4fnEumvujvjKMPesVBWnAVFNHnHLQEQYRVvNd4fYH43XjOLXss EiCw== X-Gm-Message-State: AOAM530sL10bfFpJS1FvvK9wU6uxrSSOBDchzPi2PRy/7nzsxMFeCS2W ee8kCjZhEcHBit9JqoSfL22F0YschUnMMzDS X-Google-Smtp-Source: ABdhPJzEC00J8QANZfNLK8j/F2lPnDF8x71nqayzjr/yi2DntQGkzBXMxHPVGBJr8kZcduQw73yCIQ== X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr14577294lfa.499.1650442337425; Wed, 20 Apr 2022 01:12:17 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:16 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 3/5] ARM: dts: i.MX51: digi-connectcore-som: Update PMIC voltages Date: Wed, 20 Apr 2022 11:12:04 +0300 Message-Id: <20220420081206.65083-3-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220420081206.65083-1-eagle.alexander923@gmail.com> References: <20220420081206.65083-1-eagle.alexander923@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011220_481384_ACBCC411 X-CRM114-Status: GOOD ( 12.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch updates the PMIC voltages according to the module's datasheet to match both commercial and industrial variants of the module. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi index 20e89cc4c838..04a47200fc73 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi +++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi @@ -34,22 +34,22 @@ pmic: mc13892@0 { regulators { sw1_reg: sw1 { - regulator-min-microvolt = <1000000>; + regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1100000>; regulator-boot-on; regulator-always-on; }; sw2_reg: sw2 { - regulator-min-microvolt = <1225000>; - regulator-max-microvolt = <1225000>; + regulator-min-microvolt = <1175000>; + regulator-max-microvolt = <1275000>; regulator-boot-on; regulator-always-on; }; sw3_reg: sw3 { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1350000>; regulator-boot-on; regulator-always-on; }; From patchwork Wed Apr 20 08:12:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819908 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A553BC433F5 for ; Wed, 20 Apr 2022 08:13:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jwWZhgsdcx24Mj3uUEuI4N4RahbpNGSM5o9yIzEPpN4=; b=qKGLE4lm2TvOus /u7wOlvv1/BmxaTS4CG8Hnz0bpqeGtmC1RaJhbRhwrD6dTQOC2Ozb788HsDLe9j3vTt2LeeJZm0Tf 6uxYNcvm/mT/RXbogLybeH26RiHeM/iZAd8q2+7CPngLEfyaCFxiYQdgPuM0TpMyHBQh81DDpF8iP yQI7TWg/ZqMWBEVU0m8ZNh58NsMTFj2RY2QjwYt5qe3EryAFFkwEbx5qan3srcUnUMRwqT+LxoDT+ yIJDeenCV6GB7MO36EbKetummugVZPbVlM6Qd8b9Ecocsgy1p2vLj5teY3d7G1nofBCR25JaQONAl 5SqnddnZQwUggaMMAuOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5SK-0080hF-Rp; Wed, 20 Apr 2022 08:12:57 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rm-0080WU-1Z for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:23 +0000 Received: by mail-lf1-x134.google.com with SMTP id bq30so1459843lfb.3 for ; Wed, 20 Apr 2022 01:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2k3r1fabZ/XSaObvpMnrPOMQsDV8GxKiqAZHaMFQcuM=; b=QgEPh2/VzSO+tuOcya7qnTzBlF17HKbU+vvZpyvjMWM1MdZU2Zt7FNIh5iKdIikvfM GI+bd2+16DfeY3NIo/6qE36WPcfV+mA5I5cmh2u/IuTV5PHmXbMch263rRQBCCKP0eYj qd1j72n0NvuspEx4SB7VouTUvkcntZ9eRYomtxSZj0y73Ce+bYUfc+Mk0whO1CG0X4+p YCzgIZIJa5E0q99PWPvyBCUqsGbQUmUaIedwb0eePyXk/jczhnlORF7GbmL9Th+vj38G DJ+RjJdI95TDcrJXuD6uPdYTscMiIDiz+gkMIoOcrAev7v6yy29mXHo8grdbXDhK0iBF d2eA== 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:mime-version:content-transfer-encoding; bh=2k3r1fabZ/XSaObvpMnrPOMQsDV8GxKiqAZHaMFQcuM=; b=Oc10qBBkqo/vob+UUFEyLIRi6LETBbQ+ggPLr6FDxHM2v9ryCepr/G13PxNqwHCkRO q0sQL8zfwvyCC7S0/qtQgsFnWWc+gKkmeMZwnyh+c463fzUfa1sJSeAu/rXtXFUbABE/ bfzs0Co542YCYIUOS/7qb+pcz3LodplS4bdsintUfV+L+u+O7RxwEsv0kuU+1kgaIskw 6BuipgoAGNrs9GBjrbYAo74CN0LSK0TM0mWRgWsZRN9Tvcth+VG82zhah/65Y4H+bmJD /OT1dHsJtk07DsQ5A+GNYQeQqHqrcpZGPscPJ6j2MLBDj/rJHlORsfjRYisaGDz2v9xy zqig== X-Gm-Message-State: AOAM530ayi7x4sLr8L/Ej4Yn47BKVjozvUL8D3quZDF2NZe4qx0vsIKb q5i6Xem7LvwvOpZXjrE8TGfhFSwP0o/EqwgO X-Google-Smtp-Source: ABdhPJwIqHfZuGg2FL6bYn4fEMYOR1iVTZMxrdEGwyfmEDRzDDR5YVJWplxSxnWraMl4tLKe2CkAfw== X-Received: by 2002:a05:6512:22d5:b0:471:8ba9:bd52 with SMTP id g21-20020a05651222d500b004718ba9bd52mr10373048lfu.227.1650442338698; Wed, 20 Apr 2022 01:12:18 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:18 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 4/5] ARM: dts: i.MX51: digi-connectcore-som: Setup usbotg vbus-supply Date: Wed, 20 Apr 2022 11:12:05 +0300 Message-Id: <20220420081206.65083-4-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220420081206.65083-1-eagle.alexander923@gmail.com> References: <20220420081206.65083-1-eagle.alexander923@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011222_198516_8A7FB58F X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The VBUS on usbotg is connected to the PMIC SWBST, let's reflect that in the bindings. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi index 04a47200fc73..f0809a16a2ce 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi +++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi @@ -184,6 +184,7 @@ &nfc { &usbotg { phy_type = "utmi_wide"; disable-over-current; + vbus-supply = <&swbst_reg>; /* Device role is not known, keep status disabled */ }; From patchwork Wed Apr 20 08:12:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819909 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5735C433EF for ; Wed, 20 Apr 2022 08:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AYYC++WoymvEQdC6hfMIwJ79ubkcp5qqZEJl+rScjdQ=; b=CjvzcQNf0YocKR GS6Mw/Sk17O6dp2zQ9N1y+RGmzRggfHHpr6cE0OqHpdXo+2eVisrEY8whZg+9u0woJjg10QjCZPkG tJ3D/f9q+z6SQNQPK6vwdLmOREPk17HR/uGWFdUSXuy+M76/mEJro32f5fCNzoscCt0YFARjK0JYH XVyTvEdz68cmUfYJYF93aiKB5AmesWdhtu1Y5m32NLwGfKYHNbpqBwGlu6sono3ZNtvfMyNgj5cU2 cYak9GaM7utNN+J7xdWnJyDnvSiHvrunlR7ZlNkzgOqr1tSbo2WODJ7wsvg4JQH0+vVUVd/sd3Xw+ o/ktxlrPKWz14HFeup2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Sb-0080no-9G; Wed, 20 Apr 2022 08:13:13 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rn-0080XF-Be for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:25 +0000 Received: by mail-lf1-x12e.google.com with SMTP id bq30so1459916lfb.3 for ; Wed, 20 Apr 2022 01:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j05iPdKb4c1LhxfTeWRX04Geu40uY0A6CDBHYcjcTUg=; b=BTlJ5JLiuCQm+oMHXOu1ul2U7V4sabfc+HumGlDmUANHAQ2SGp7vv5tzUFEk8KTsrq zWIbNe4kthfiHe2ChaQmes7xDIEIMD8sjGb4M3oSDqVuV0JpqnzbUViu3lBDiHgxHjiK mh4CzNEFCFJFHVY9BBNN9S729dIvGemNYQ2BTjQdoEzflwSm60TsOkk9FlMOt9o91X7O MyRGWQMK/ZDky1raypZ2Tb21FJlntdIhu8HvtTB5RTWrJ5hWh40TnQTMJHts5A6PGmES 5J84zn9dC4r+ppa9B3euxrctqNtLnZ1XPoU8l3h3B7v11CIPtIQ0Tp6EDJ7g3bRnc43O 8ytA== 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:mime-version:content-transfer-encoding; bh=j05iPdKb4c1LhxfTeWRX04Geu40uY0A6CDBHYcjcTUg=; b=VJ0w7jkCr3hRqks2KM/csQZGp4a7mCuMZ/Nwoki+3+tdcPncSXoxEpGBDppuAB9iJc ledKF3GovmYomFzxxHKyzsfMrFXEBSnE+YbVXOEPZeioFNdZqsPnbvyDrIeEmqzHkKjL CvtjYwuNRAOkzZsvAQHaZUenpcuLnVI++hsQntPgBjFwPwpPAo9nZscqsqQCm3wHyPjH 4W9ss0c2CTXWBcP2ZemaqJ/K+IS18JkldD++5lwWahXet6BQG+vMMpz6XLMV96BQQrl9 aZJmKwsP2Cv+3M/gq6j/JBegWBfeXE/oi9PztbVYI40UIgIA1JvOVUeS/XTNEKMz/bdZ taVA== X-Gm-Message-State: AOAM533OApj4dxP0LeCACvMiw5UaYxZC5Ki0str3sFlHeoUyP5CxeBFG dOFUvC79jMf4E3e9WLs3+xm4DVZ1LFcnprUs X-Google-Smtp-Source: ABdhPJzkhKNlzQLZrP8YccXPMA5lK4fe0AD6hmaw0wCkjmxreOvcg3qt69IfwE+pwVRxiazP9j1iIA== X-Received: by 2002:a05:6512:151c:b0:45c:6b70:c892 with SMTP id bq28-20020a056512151c00b0045c6b70c892mr13487092lfb.124.1650442339970; Wed, 20 Apr 2022 01:12:19 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:19 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 5/5] ARM: dts: i.MX51: digi-connectcore-jsk: Use usb-nop-xceiv usbphy for USB1 Date: Wed, 20 Apr 2022 11:12:06 +0300 Message-Id: <20220420081206.65083-5-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220420081206.65083-1-eagle.alexander923@gmail.com> References: <20220420081206.65083-1-eagle.alexander923@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011223_464407_725CE4C6 X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add node describing the USB1 usbphy. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts index aab8d6f137c3..10cae7c3a879 100644 --- a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts +++ b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts @@ -13,6 +13,13 @@ / { chosen { stdout-path = &uart1; }; + + usbphy1: usbphy1 { + compatible = "usb-nop-xceiv"; + clocks = <&clks IMX5_CLK_USB_PHY_GATE>; + clock-names = "main_clk"; + #phy-cells = <0>; + }; }; &esdhc1 { @@ -63,6 +70,7 @@ &usbotg { &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh1>; + fsl,usbphy = <&usbphy1>; dr_mode = "host"; phy_type = "ulpi"; disable-over-current;