From patchwork Thu Apr 25 12:34:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10916961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BDD3922 for ; Thu, 25 Apr 2019 12:34:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29052289B0 for ; Thu, 25 Apr 2019 12:34:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B44928A3D; Thu, 25 Apr 2019 12:34:32 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 86B44289B0 for ; Thu, 25 Apr 2019 12:34:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731176AbfDYMeb (ORCPT ); Thu, 25 Apr 2019 08:34:31 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34515 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbfDYMea (ORCPT ); Thu, 25 Apr 2019 08:34:30 -0400 Received: by mail-lj1-f193.google.com with SMTP id y16so9299284ljg.1 for ; Thu, 25 Apr 2019 05:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gZbAV42ouC+LryXkXm2kLrS68IYQoSD4rl5WaYxDQxA=; b=sX9aMTMz8SM6MCg3VoGHSCZtmXRNWRkckyhqOav3u2F7qmMvwa4h8jM+6lCcF6A98E 9V/a9w7LetuNkWOVah9YUNDDYgfRIQLHhzn15OJkha7K8/GPzUMV1mbTkh//cy9JYYkl FDZCBOOqmpIcmUUBeXYxiY7kVOOQ+Q41EzRdKwphIiXQ4SbxBf8HpjAtwqudblbGKW7P oOWmfm9YqAk5pTlhw4iijh0g+Ev2zhqNw/BEGj1Sx/L+WEsyvqvBsGzXZLZ7qFML3MrF r/HEGhPuAIWKXmNL0TxoDGA/vuYLXuXImohuwZHjTzosoD6i4oxum5/U00zLeScRZw0O I5ug== 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:mime-version :content-transfer-encoding; bh=gZbAV42ouC+LryXkXm2kLrS68IYQoSD4rl5WaYxDQxA=; b=R1SPx0S60eol7CXKDJOi0LMHm5WEMz9r85Nvqq5fCaNE97ka3hBU53pyp89fi+dMSu XAIzBPZEpkqswSG5jPifBkBUlwNSj/ulo2zewGGGVlwwTXSB81O3fU/VZHk8hD0tmNuG 9hDsAjCGTBjdLNJie4M1cYZa00P9NdXRJvyZJDPZkL2N0j1tON2cyEqCNi1aeAWJENqf +fo3DC5FcOZsCR27AqdF9ZwqUHlOodTuT0zJrGspqTn32lBlMp7X+aBXwkViUTlAuVwD OMp2ulfy+pSuUzzDkxuZr9hAQzVVRF6VmG0v+EL6RpTzwnAe+JqDQZKmKWW3bnPsH4AL Afhw== X-Gm-Message-State: APjAAAUolMzAl79p9+CDwoe3K8SbSUSDvWs9TedrXjA5pKXiv9NjlN3O 1BrlbJ3bL72ywOelcmk8FT7Kop5k8gU= X-Google-Smtp-Source: APXvYqw+r/6TrzK80Xuz5Kp8OZNi7ks1UWM+ofr6m5h/UwzmN0rS8Z22P8AYegP4X5rdKbzIvtQM7Q== X-Received: by 2002:a2e:87cd:: with SMTP id v13mr20445464ljj.98.1556195668680; Thu, 25 Apr 2019 05:34:28 -0700 (PDT) Received: from localhost.localdomain (h-158-174-22-72.NA.cust.bahnhof.se. [158.174.22.72]) by smtp.gmail.com with ESMTPSA id v28sm5046667lfi.33.2019.04.25.05.34.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 25 Apr 2019 05:34:27 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown , Rob Herring , Mark Rutland Cc: linux-arm-msm@vger.kernel.org, Niklas Cassel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: qcs404-evb: fix l3 min voltage Date: Thu, 25 Apr 2019 14:34:01 +0200 Message-Id: <20190425123402.18167-1-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The current l3 min voltage level is not supported by the regulator (the voltage is not a multiple of the regulator step size), so a driver requesting this exact voltage would fail, see discussion in: https://patchwork.kernel.org/comment/22461199/ It was agreed upon to set a min voltage level that is a multiple of the regulator step size. There was actually a patch sent that did this: https://patchwork.kernel.org/patch/10819313/ However, the commit 331ab98f8c4a ("arm64: dts: qcom: qcs404: Fix voltages l3") that was applied is not identical to that patch. Signed-off-by: Niklas Cassel --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 6910fc663fe1..9a7d930dcd23 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -118,7 +118,7 @@ }; vreg_l3_1p05: l3 { - regulator-min-microvolt = <1050000>; + regulator-min-microvolt = <1048000>; regulator-max-microvolt = <1160000>; };