From patchwork Sun Feb 18 15:43:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Bergas X-Patchwork-Id: 10226795 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 2512160244 for ; Sun, 18 Feb 2018 15:45:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13A1628716 for ; Sun, 18 Feb 2018 15:45:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 083C22883F; Sun, 18 Feb 2018 15:45:01 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8B6E828716 for ; Sun, 18 Feb 2018 15:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=guQ8hysEqTv6p45fGrVe9spsVQSCQ8V/yRkrnu0HiTI=; b=jFH 2uNNTMNEBLcNLijjr9USPdsvnK/ck+RE36TF++5z47S63fR5bMfP4JAI5ktwiYpsqOQRrY1XB0teC AFjAIKxOuxYzY0sbzcHRhB96dUHWa1UWWoDGZj9Vfl7SUtMywJA8lc61bkfExg25mzoIhY55cy2kl 51hmCUYPydWPJQvjd1fKKUEY1S7IuSJJQ4u/vUSNigWn0bkz10u9HuduP6XHXfUsyyz5JjeBjshmX 5NflDx7sJ9VfHxmY94bUFob4neR1SXZ9W8ZCdCwV6ii8YBY+fpYvewiNZYmLn2JGtmijU3geIdqLJ aAwSewPXKUXhKvkLFlqdPXGf1aj/wzw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1enR99-0008Db-41; Sun, 18 Feb 2018 15:44:59 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1enR95-0008BP-A0 for linux-rockchip@lists.infradead.org; Sun, 18 Feb 2018 15:44:57 +0000 Received: by mail-lf0-x242.google.com with SMTP id q194so9907962lfe.13 for ; Sun, 18 Feb 2018 07:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CXR6yGpq62w5aW6CRWBGZfEw7S/NQGh+HzmFR5fITZ8=; b=uKdb7NpCC4jfOGWlI96xWsWXPTKM2mqL8N40+1KZ4sMZi96bV81GFenKV0UOkbGdwm drhRlq8hzgYrVSjZGxwJkddtI/9JDujF33oZprVRqQvhzwwWyUJ+b82Yd/GIdXGZBs4Z EN6zhjAPiYOvGoI03rqGn1KkmoXlzp67lcdWsMMAKbkonM+XgRcY46Ppu2744kA6n2/h x/PJTM/s+We0zKeJQnyRi+O0rabhS01BMaiQYTjzMwsTBGXFlyfogMIJYj2gvtR17F7l BV2//wca0yKPLo5LR7y4Uk2qGwoA7ZC7w/zrHDlbqnrIZKjqKtJxwYewAFhEmvW6stVd PwXQ== 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; bh=CXR6yGpq62w5aW6CRWBGZfEw7S/NQGh+HzmFR5fITZ8=; b=QcrWz5UU8Hg3lMGK6AwMJpe9enPJkC2w6c69CwoUD6z6NizRqE5GKVFVNHH5+KxTMY nYD4WNy1ovQm7i9lRysU8Rz1cQc8W5X6GLEGLMJ6Xo4V6aeH4t6g0iJQFAN7kwBdTDS7 w1alJrZmkTHow6uXXz83JbErJ7+ArAEU6CBewwIjIcA/PVWVYAwDO7TeK2O5J3xgzdsl /JZhqe2l2QZQawiJayO3nBA0eeohsZTuDWaLP1QBnFFc8Y0sYsfjpdTUxt2eqPJNeMho 3muB5v3xNLG0b94At6rQ3YOzoSxOj4xa4hlc/XLcXkXFqMagCmMktFjbkZUZbMez+PsV CtIQ== X-Gm-Message-State: APf1xPD9VHBoDpj2xUcFOXzdNuxaIY3JVvjZ0FSPwR4l2hcBlcz2tRk1 f+h5xkZR5eAEt1wq1G9os/35pIXq X-Google-Smtp-Source: AH8x226eCcm/unvGFX+KilQtfZyMx82bqlXGpM1O5/Lp4lF641QTdLyyssSWcxXPS1xCmxZMPd9sLA== X-Received: by 10.25.43.136 with SMTP id r130mr8172145lfr.48.1518968682501; Sun, 18 Feb 2018 07:44:42 -0800 (PST) Received: from localhost.localdomain (x1-6-c4-3d-c7-28-62-d2.cpe.webspeed.dk. [80.198.72.241]) by smtp.gmail.com with ESMTPSA id 9sm1824530lju.64.2018.02.18.07.44.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 07:44:41 -0800 (PST) From: Vicente Bergas To: linux-rockchip@lists.infradead.org, =?UTF-8?q?Heiko=20St=C3=BCbner?= Subject: [PATCH] arm64: dts: rockchip: vdd_log is not an i2c slave Date: Sun, 18 Feb 2018 16:43:59 +0100 Message-Id: <20180218154359.9362-1-vicencb@gmail.com> X-Mailer: git-send-email 2.16.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180218_074455_372193_7446CBB1 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vicente Bergas MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The vdd_log power supply is controlled by a PWM pin, not by i2c register access. There is a boot message that reports an error about not being able to bring that supply up. Also, the eMMC is not detected and /dev/mmcblk2 does not exist. References: [1] Schematic page 16, search for LOG_DVS_PWM https://dl.vamrs.com/products/sapphire_excavator/RK_SAPPHIRE_SOCBOARD_RK3399_LPDDR3D178P232SD8_V12_20161109HXS.pdf (alternate link) http://opensource.rock-chips.com/images/f/f0/RK_Sapphire_RK3399.rar [2] arch/arm64/boot/dts/rockchip/rk3399-firefly.dts Signed-off-by: Vicente Bergas --- arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi index 0f873c897d0d..46c95ccfd5cb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi @@ -143,6 +143,17 @@ regulator-always-on; vin-supply = <&vcc_sys>; }; + + vdd_log: vdd-log { + compatible = "pwm-regulator"; + pwms = <&pwm2 0 25000 1>; + regulator-name = "vdd_log"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + vin-supply = <&vcc_sys>; + }; }; &cpu_l0 { @@ -421,17 +432,6 @@ regulator-off-in-suspend; }; }; - - vdd_log: vdd-log { - compatible = "pwm-regulator"; - pwms = <&pwm2 0 25000 1>; - regulator-name = "vdd_log"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1400000>; - vin-supply = <&vcc_sys>; - }; }; &i2c3 {