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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 74877EB64D9 for ; Wed, 12 Jul 2023 08:24:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5DF6D8634C; Wed, 12 Jul 2023 10:24:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="cjIWnsPD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EF4E9869C5; Wed, 12 Jul 2023 10:24:37 +0200 (CEST) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C48A5861C2 for ; Wed, 12 Jul 2023 10:24:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fba86f069bso10738316e87.3 for ; Wed, 12 Jul 2023 01:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689150275; x=1691742275; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HcEsh4oR/4pP7M89cI22lcbEY/ti3DHCKHdfhUDnXkA=; b=cjIWnsPDBTEN/m0omjmYVid50Kjqw6p5QnfgOjlYqY15BRegsg0oevxjIvsD6zG/X3 I0A3XPAjneFm+o1IHNVtk55k+d2vup5K8NOuVs7aytD/jDiJ9kMT5t4bkfBQgZ1Ym94c UTh/sDOo7Fic0O9VuUOFO/WZLcUuao7wGNknmUArRd6WttrhtCOfn26f5kdneS7srVsS BgwzskUpz+N3kkg7MpIvTuQTJDAoih46pzf5Fq39fyswiI1xEKrt4CV5ZxBx7P/Rewlf /SN6ZxnGeTWKB/2JcFlbJrq3RFZDJvgo28XeB4xsS2NPp4nB4atGw0VBvqiM0XF6Gpme X0tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689150275; x=1691742275; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HcEsh4oR/4pP7M89cI22lcbEY/ti3DHCKHdfhUDnXkA=; b=ZARdJDnXgnBAw1rs6ml2ZLh3COiGrlpPMrSWZBH8XWr4JyEmUh47gSsHbDxeo7PUMr vabUQQKItvkiXIrOwo9wsAfN3FhkEQc4xBD24imccRU2ZYKBqgsZtQ2TWDDxp+pXlBGM V84ficYCeOEeeu0/2bt56OvjkMbxKPXk3ru8/MgqseM+KY2EiWH1WHUBigq6ZQlndvRl jwxE/THpV3wnAgXwJqMBOAnj7Szo2hX1dN043THctKdoBQLu2Y/3dgSfiYMcE/rqTVTm yaAPP335O6GcSLl2Y4CZn0DPiI0TteswoiQB33vEafHiZbBVC4sEWX3hH30XHh62d5oF dBUw== X-Gm-Message-State: ABy/qLaXo/rBTqKSeiLsp/9bKm0U2Mz5pY7V15ZOH1Qm+1Kjaw3N3q/8 KXuVI5hz6N1FyoaNh7tH3jI= X-Google-Smtp-Source: APBJJlF9jAxNTfbeh59s69OdiqHaEiU4go1/WSJqIrUyPMyVpeEUdZfaD90bA294KjivtBD5YVb38A== X-Received: by 2002:a05:6512:547:b0:4f8:49a7:2deb with SMTP id h7-20020a056512054700b004f849a72debmr14287975lfl.8.1689150274697; Wed, 12 Jul 2023 01:24:34 -0700 (PDT) Received: from xeon.. ([188.163.112.64]) by smtp.gmail.com with ESMTPSA id q29-20020ac2515d000000b004fb64600e5dsm596523lfd.219.2023.07.12.01.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 01:24:34 -0700 (PDT) From: Svyatoslav Ryhel To: Jaehoon Chung , Michal Simek , Svyatoslav Ryhel Cc: u-boot@lists.denx.de Subject: [PATCH v1 0/2] power: pmic: add TPS65913 support Date: Wed, 12 Jul 2023 11:24:16 +0300 Message-Id: <20230712082418.37877-1-clamor95@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Existing PALMAS PMIC driver is fully compatible with TI TPS65913 PMIC found in many Tegra 4 devices, like Tegra Note 7 and ASUS TF701T. Add TPS65913 dts compatible with TPS659038 data. Without regulator_autoset PALMAS regulators are just "requested" without actual initial setup (device tree is completely ignored). This causes major issue since voltage is usually set on probing and rarely is changed. Drivers which change voltage will also assume that initial voltage was already set and this was not the case. Svyatoslav Ryhel (2): power: pmic: support TI TPS65913 PMIC power: regulator: palmas: set up voltage on probe drivers/power/pmic/palmas.c | 1 + drivers/power/regulator/palmas_regulator.c | 4 ++++ 2 files changed, 5 insertions(+) -- 2.39.2