Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1908259lqa; Tue, 30 Apr 2024 02:58:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBwGDjYnPXKcDwciHo7boXMz9PKt7CwafiaWDNVrGbSYkXAUC62IiZHmC1kE0/dNuLl54GMPIv78scmKqDHqWlKm1CJBuLXXZVGmQ2oA== X-Google-Smtp-Source: AGHT+IFPUAAtK+6ZYbNqidivojPuV5X/iuVwMXFYcdEGHi+Yi060/Gt75XR5Yq9xvbUg9DKsXgtZ X-Received: by 2002:a17:902:708c:b0:1e2:194a:3d22 with SMTP id z12-20020a170902708c00b001e2194a3d22mr9006589plk.32.1714471138900; Tue, 30 Apr 2024 02:58:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714471138; cv=pass; d=google.com; s=arc-20160816; b=KZ0Ywhh0Inntx5VSRw1/87clVguOwIF3OwZ1n1WHy+HGNFgHE6gwqd8tcW6a9u1BhF pi5K2Zjx2wRi8pae7zD+GNbSinAQDvJNCsBTZwwQzkfVzXcndnZUWw+6JPPwZ8HCM+7Z TaO4N0ebqn9hw49EzNX5mQkpazzAKDC2F7p2Q3U5jORwQxP8cXvv+XSnRYSYx/i7+xcb X/OQ5Br24n6XKBU6eAtk0Rrw/qLdef3pzn/vcKDK9MH8XZKUAXhV0W6TAbPZXkMw5BDj IJGM9fs2Oas3sj8Ay1f/VBQXNnr5u30S5ewRB2/QOTC8t7XU2AiuBRfly6E6KqoDv76L j9uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from; bh=ZbczRNdQJKAf0jVjuazRghLkUSBFG9sYxuxOfdq2jLw=; fh=tnqHSLcNjGPJ99BdeEeSs5RnuwjnVS1kZmtKFj0LaU0=; b=fYD9EY1qodyJbTXMg5K5KoNzZVCJtC7FDV7D9CrJXY6s1m9dkYHlpvP1SSmLa3mfZD CgaCnVHulAasvOTdBnUmRq4ChcUxf/kw9UG1Tkh5J7+MG7OsF7XAqe2JzIM2z9bQpSLG KzPZ4xDEAibiS77EmKlLdi6H6+g87y6N7fKbQwP4/i02nKphSvDg4uzihVWrRbeCK7Qc 6QpPfC5KZjfrNRSmy8Z2YKU0/KAoBn4KUKQuE9NfEXrIfjURn9xSDolGaHjaBRNRqCnQ +vsShC8fHV6dLp+bEYQtrjXe0jRBuwgC/hH0UawqzN5ZLie+nkLSufodB4Y3uCxektMR V6OA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-163729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163729-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z8-20020a170902ccc800b001e85dc64080si22102108ple.61.2024.04.30.02.58.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 02:58:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-163729-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163729-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5831B2848D7 for ; Tue, 30 Apr 2024 09:58:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00D911292DB; Tue, 30 Apr 2024 09:58:52 +0000 (UTC) Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B5F9524D9 for ; Tue, 30 Apr 2024 09:58:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.130.44.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714471131; cv=none; b=hwWOEasb6LqnXC5P2Tu4l8f9RSoW/ANLteM4G5lTxNoQu06jDgKZWFFvc9pVioYkmZl7s0EOgs7d04ZX+ABYsrpChRnqJ+NnDLgc4RvM4j1AxH0sxDxTdUXZcuVm8U9zAU2tNmD6tgwfRPN+vOONYBU2n6nH77NnNuYSzSgWdNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714471131; c=relaxed/simple; bh=/KiparKJcGssaSXcaY9DhuXObnYmcgTksV2FalgHiHI=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hueh2izcaKBkc0Smiotpdwh45nFgxWDPpwc20IaAeVtcEdjp0dRBi+Spv1p2YsbtUa4yBMBs+3Vwnf8NSyHQ7iqF74Bo2aWM/GAextfiIEAdhFj/hPchmnWdqZTfiLcZpRiryfwmlv4YPulU3n2fMpK9qOFH5G79P++LN28C92A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=richtek.com; spf=pass smtp.mailfrom=richtek.com; arc=none smtp.client-ip=220.130.44.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(3367349:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Tue, 30 Apr 2024 17:58:29 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 30 Apr 2024 17:58:28 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 30 Apr 2024 17:58:28 +0800 From: Alina Yu To: , CC: , , , Subject: [PATCH v2 0/4] Fix rtq2208 BUCK ramp_delay and LDO dvs setting Date: Tue, 30 Apr 2024 17:58:23 +0800 Message-ID: X-Mailer: git-send-email 1.8.3.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Hi, This series patches is for hardware modification of RTQ2208. ramp_delay range of BUCK is changed. The maximum ramp up and down range of BUCK are shorten from 64mVstep/us to 16mVstep/us. The LDO's Vout is adjustable if the hardware setting allow it, and it can be set either 1800mv or 3300mv. Additionally, the discharge register has been moved to another position. In this version, a software bug has been fixed. rtq2208_ldo_match is no longer a local variable. It prevents invalid memory access when devm_of_regulator_put_matches is called. Alina Yu (4): regulator: rtq2208: Fix LDO discharge register and add vsel setting regulator: rtq2208: Fix LDO to be compatible with both fixed and adjustable vout regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is called regulator: rtq2208: Fix the BUCK ramp_delay range to maximum of 16mVstep/us drivers/regulator/rtq2208-regulator.c | 166 ++++++++++++++++++++++------------ 1 file changed, 106 insertions(+), 60 deletions(-) -- 2.7.4