Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2631025pxk; Sun, 6 Sep 2020 07:38:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxatIhVeqwQsaPNhjHUnd6S2HkC3WK/IY5fymz9MZNjr4JyGDALLv7nOghn16MMXNwuPWLw X-Received: by 2002:a17:907:2456:: with SMTP id yw22mr16445922ejb.337.1599403106502; Sun, 06 Sep 2020 07:38:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599403106; cv=none; d=google.com; s=arc-20160816; b=e5nsHYt5/v52Wy1C9wM51/dVtu2bZliMvpkOLnzueBFZogcdqbiC00WqyC4v1QPExC ObeJdxMIQHxEjA7FHy6NsrpWO0rONwX8qRNDVq6vsCjmxb3Zr/RawrUYb4rMru7L0qhf QxS2dxxvhz04Y7tGI8hfVaigTpbodUkCucLnKjWdYPm01BGNRhwR9y7/bfS32rshNwmk LsyumRPQjO0oSlWewoDbJPsQckf9zGE/C+llvbwfTkFHHxVwLcznQRWw3TU2W6AD6m7j QPBMuO06Cs15pH7DToksaQiF4IpgKcka7rgQjZB7xJ8aScsflSC9s/M51kA9rZLOdQMq gLPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Q89aax93ehgqnDpqySkCBxqHYn5Oh9gR6hW/u8LFBr8=; b=QpTIV44KzXuv3h+VE52es+jl2iAtAybhyPw+6J1HfGm4CdOd1pl+zDlqQ+icIGj2wP CaOkBXxK5XxiG4vP9C5swgifQwO51htT40CE9dXSKzflw/LqmXQ/H2+snwgU9jQ3fTR4 pQGCsISWl6A7O99uOX5YZLSiKkKx1A1ZA6gpZa2GP+pT6PfthYkEhnPMu+AKBYZJoUK3 kSRuooc4Ah3/PL9QsVYEULkQNQXvAXDAHeLZIWtOVCiCGIRmtIZ0lOuhS1bKb0HsPy5K XjNdP3AqZPTY2DiFlmKopIUrg2Rfcv+kph/gZzDx6NsdM6f/tC+35nrLl8+RtpsgLPpy ju0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ovHw4eZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si4679298ejx.252.2020.09.06.07.38.04; Sun, 06 Sep 2020 07:38:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ovHw4eZB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728931AbgIFOhA (ORCPT + 99 others); Sun, 6 Sep 2020 10:37:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728873AbgIFOf6 (ORCPT ); Sun, 6 Sep 2020 10:35:58 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25CDDC061573; Sun, 6 Sep 2020 07:35:57 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id p9so14529757ejf.6; Sun, 06 Sep 2020 07:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q89aax93ehgqnDpqySkCBxqHYn5Oh9gR6hW/u8LFBr8=; b=ovHw4eZBdY3L8OapmuNsE8LMwJhhYdwszsQKROWai2wIn78QnSkp5omaRK6a9PWScI M6U8XYgiO4J1uIOy4vzYaxoOOsAQNxzi6sYgj1zUvIMAFnkucTo04lTufCgOVQ5XBn/E LAk+OGyN6WuQ06F49ytIQzl1D577655JnUnE10PgYF+p7ay3UUw9wAGgO9aL76tGpn6F GPuojurSVSU3jB7FdqSm2Y4IBUx/C65Xi9GBRmPRDSZz0TwEc+xzLXW+9dlfL6lG/ujE FWjYhVnsbjCfC+jUa/VQRBoH8SDruTH5HKIm89p644eWTBjfDFmfDlhte/Z8MHSnrOdA cYaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q89aax93ehgqnDpqySkCBxqHYn5Oh9gR6hW/u8LFBr8=; b=j2nKVxa1eG4UV+CMfxAlrfkmHfDiOwXmi5QTL9thXgWPwsEo4wXlHQO5VJ2KdGNJUJ 1NcPPa+FpvI9EtdXGy9mp6lpnJsJE+csRzqy/vLiSUoF54A0nfjpjaAF5ZrVoUmuo5jl ed2iLdsypI+gIhm6J6DkHN8L1ViRjCxaGSY8NHmOycEpUsfsOHY/bz3o3ObzP0TpEw3a B6FO6W7D7CrkU0unaZGCfwqPlAObJLafxsVmWd6C7PrVMFOt/y5QywRN33a3Ez9HKc1h ilYXg/DDo+NFMlGvAH/j7WQsnULTs1lxrrXS0hSuZzHntJ2JCWGVMJ6Wo9FTys9rQI1n Nodw== X-Gm-Message-State: AOAM53264jbUOiWobdEXeU3RVo47o9XoF+Fcgg/D0pdKCP5f0MIseFO5 /9DjM+h5KEh3nehcrTkbMScrtVKudLabFs8D+M8= X-Received: by 2002:a17:906:2c44:: with SMTP id f4mr17092348ejh.52.1599402956383; Sun, 06 Sep 2020 07:35:56 -0700 (PDT) MIME-Version: 1.0 References: <1598851448-5493-1-git-send-email-amit.pundir@linaro.org> In-Reply-To: From: Konrad Dybcio Date: Sun, 6 Sep 2020 16:35:20 +0200 Message-ID: Subject: Re: [PATCH v6] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium) To: Amit Pundir Cc: Andy Gross , Bjorn Andersson , Rob Herring , John Stultz , Sumit Semwal , linux-arm-msm , dt , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Thank you for the pointer. I dug around the vph_pwr fixed-regulator > node used by fellow sdm845 devices. I assume it is safe to copy it > from sdm845-mtp but I couldn't verify it in the downstream > device-tree, so I'm a bit hesitant. My main concern is that I don't > want to burn down my only device :) Sure, nobody does ^^ > I did find a few regulator nodes downstream which matches with > upstream sdm845-mtp but since I'm not using any of them in my > beryllium dts, I'm going to skip them for now. Looking at their DTSes, Xiaomi doesn't seem to stray far away from MTP designs. > As you pointed out, in case of regulator lookup failure Linux will > fall back to dummy regulators, which is working fine for me so far. > Also I see that vdd-*-supply properties are optional according to > Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt, > so I assume it is safe to skip them? Yes, but keep in mind it would be a good idea to add them later, after you're sure everything's okay :) P.S. My current daily driver is Xiaomi Mi 8, which is basically Poco with an OLED and glass back (among some other minor nicer things), so thanks for your work, I might benefit from it in the future :) Konrad