Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp269989lqz; Fri, 29 Mar 2024 16:51:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2SXbv4mbr4er/GuXwsWfTwpSf3W9gmCnW8Vlot48RLRqlsYg0kMxRPrxX+oJ2iJouL/WqpQe84wIYRDoVlzzyCsvAIqw7XR0o8Ds8JQ== X-Google-Smtp-Source: AGHT+IGdEM+bqmJaRKiMNfKmyG2oTsYZMw6NmyRhXCTev4R5pEyVA5jnpZ1XvARP5NiYx6nd/xUa X-Received: by 2002:a05:6e02:12ed:b0:366:99e5:a053 with SMTP id l13-20020a056e0212ed00b0036699e5a053mr4317089iln.25.1711756261225; Fri, 29 Mar 2024 16:51:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711756261; cv=pass; d=google.com; s=arc-20160816; b=gWezm62KmsCd8XrZzDYCZBzI2q7M8g92SEOhOQB4VUktK06lXt2pMrZQ2Y0Lypg6Yc SalTQAfmaJW+3rMj2F/T2YjYoIhYrL9Sm1j+XzfSzWLKg0tWPc4Yq6Ya7fKubrMzI6zN 63YHk+lluy2rsiJVT6Vjx4KJqVlfVo3ynkwXHkXNxLEIwHA22loL+zO1vRSl4m8VFcMY 8ZDBhVvwsBiX2u2tEcXrzlokYVWXUbLMUhiJAGMQprfr5qw0MI0A7QqDLs1+yuzzaQEv CNtP0fMpTNeS652qncIxLit/FreFQ3Eb62NSvPGDue03bX1L9z4l2/Md7/xUAN8ZhqXg VKpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=huciFWd/37VNkGLv/CLY+V0J3RFyNb8NbcKuI8/rvng=; fh=pHEgU8vIZ2dKZDfo5+HnJ4jYKuwiESD1XRMEK8rBrI8=; b=vT3h0kEdfkPdPLj+4EKMey7FEKP/sOYJro5BNB6MoG5Q02X6kv+voA3ALzyIu3Tam+ ZhQRIZKXmECj5VI8jXP75I75JxNyPwk04p3sm+c7n8QPb0mjQ3FENugUkeTTiWxN9uVH Lk/JuKCOI3OtNDXjalSfUkqPHrxh1b97mxEOyvTbHkMVemyyAaUlTSTDS1b+1t5qXBN6 iVq0A4hcv3iHCu9bUMq67Vl1CfBkQZ5WXWe0brqPx9Gcmcj8w0znDp9UbxRsMzd1fvX1 BDjLS0FS3sht7nHnEWuFscP0ZOR9cqqeQkziaJG6Xypf5ubDbcaD5+eMIaIcPQq+s+c3 L2tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-125533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t6-20020a63eb06000000b005dc97d88897si4510307pgh.698.2024.03.29.16.51.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 16:51:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-125533-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 277B0B226A6 for ; Fri, 29 Mar 2024 23:50:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADA22364BA; Fri, 29 Mar 2024 23:50:51 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 988DB1D699; Fri, 29 Mar 2024 23:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711756251; cv=none; b=FhODccU1LT3mlTU2kcAfv5kI0yUOzluZiZraJ37pGBd+xdgcHixAOjHftXLD+qf0bq5Yu6VB4LZqqHrTOZPlFx66Y057CpXXMcbOH4ieAgqxBLlG+yr23yvvuXFOkbs94GSvp9HfSXL0Aq1XIdVBDb9Tf+fYDV4JKwn2MXU+VFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711756251; c=relaxed/simple; bh=TZ3uiNo5q8a7erClyx5Zij7cZ7jestMo9ToWhp0UMHU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=AujyNsoGprMuTojsKKp6/l+STYlYF+4fNvuMLvciGTysbRkE8lcGu/RFJT2JnT4GE6G7db2DteZQpb8KGqPm0YMry83yRNLpsqC/6M2ikaSEaMIiLncKZrwqarLYY3BQJ/ZeFDV7zwAgmeXclgp1hxv/DxKqVHXFPuU4tbCD8tk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E1EE9FEC; Fri, 29 Mar 2024 16:51:20 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D59093F64C; Fri, 29 Mar 2024 16:50:45 -0700 (PDT) From: Andre Przywara To: Chen-Yu Tsai , Lee Jones , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Jernej Skrabec , Samuel Holland , Ryan Walklin , Chris Morgan Subject: [PATCH 0/4] regulator: Fix AXP717 PMIC support Date: Fri, 29 Mar 2024 23:50:29 +0000 Message-Id: <20240329235033.25309-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.35.8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Here are some fixes to the AXP717 PMIC support series. Lee put that in an immutable branch already, so these here go on top. Patch 1 contains fixes to the regulator descriptions: the LDOs had the wrong supply source, and two numbers were wrong. The datasheet describes the voltage ranges and register values differently from what our macros expect, in a way that literally begs for off-by-ones, so here you go. I don't know if that's still feasible, but it would be a good candidate to squash into the patch that it fixes. The other three patches add the "boost" regulator, which is meant to provide the 5V USB VBUS power when operating from the battery. It's the usual trinity of binding/mfd/regulator patches. Again this could be squashed into the respective patches from the original series, if people agree. Please have a look and test on a device, since I could not do this. Based on mfd/ib-mfd-regulator-6.10, as detailed below. Cheers, Andre Andre Przywara (4): regulator: axp20x: AXP717: fix LDO supply rails and off-by-ones dt-bindings: mfd: x-powers,axp152: add boost regulator mfd: axp20x: AXP717: Add support for boost regulator regulator: axp20x: AXP717: Add boost regulator .../bindings/mfd/x-powers,axp152.yaml | 2 +- drivers/mfd/axp20x.c | 2 ++ drivers/regulator/axp20x-regulator.c | 32 +++++++++++-------- include/linux/mfd/axp20x.h | 3 ++ 4 files changed, 24 insertions(+), 15 deletions(-) base-commit: 4cece764965020c22cff7665b18a012006359095 prerequisite-patch-id: 2b5fb10f68e0994071fc4c7dce73db7047c23220 prerequisite-patch-id: 5d0735de888d155b2c1cdb814e852a5852a17ec7 prerequisite-patch-id: 29c30894b4bf0b9e1e71de065cabbd842505e248 prerequisite-patch-id: 0ab87cbf7362b6dc2d577d2264eb9574be47b5f6 -- 2.35.8