Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1762380rwd; Fri, 9 Jun 2023 01:34:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZBKrwlJ2QFYSoGXjlfy/t5glSCQcTyMhbYDY7C6a2OxlOqeRxWDZ5dhGl1GMUQCob0Jet X-Received: by 2002:a05:6808:198a:b0:39a:7830:f251 with SMTP id bj10-20020a056808198a00b0039a7830f251mr927892oib.1.1686299673833; Fri, 09 Jun 2023 01:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299673; cv=none; d=google.com; s=arc-20160816; b=oH2QyhG5ZIIYK8+4Xnz/I8MTaMq1Rb9VkEw6REN0jF2Jz2/EIfqz91vWTJD3H3AeNf F+uHfcGwKY2kQPgjl0gJVv9QPqinlITOtPrDeTTd/6YuxRKnWp/T85J6eMYAvre8+6sS 8omsX3/Jso6xn6C6f6/ZBNVxoPEUZJz/CPs20DlrRKdegf7ggwb4/MvL1nI06AguqTIq YPV2pXzUetsBhJTN60QmPkbz/lFlno43Zr+IgjuAdWv7klafpv7dJBwvHaoMKpYQVPib QcyIjdDuFNcfA5JOyqnpu1pKIR840Jcwms6BDXREeYK76xvmMbykvd9qVhbpITH9itRv snmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pV7h1an/oO2QW199ipAcSJcet1wN/x+kczYWmCEHXCs=; b=JcDjd3vyQl2YBPZA+tpvrHOnRiaaFDV+/gVrQ6D9qj2nMJdN+mocpPjrk2koZl8b5O a3y4YfAgryDcS5kv7glGWJVvkh/mfgARFadRvuf6+Q8OUOHawIsLmiWyNN/CrQWlo4tl y+WPTW/8x0wJDtdqo9hXF5JAem296S+z5nWfz0AViiJhSXFWxmseLqSwuy2Rdvm8LyUE XBgYiy8OnBnhh7isNxu4rwEyfn3sLzTfwCLG1iWzcIIgmawMJWrCUouCMXBvSa2zNSSR gZubjsUAyTx8DjTGGKar7rw3mT+qplySHCZO7W9cOR5fCYMLrgS45oHNIxQKnQcZnjul 3MHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=b0G1iIy8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk3-20020a17090b33c300b0025690b76c95si2491227pjb.10.2023.06.09.01.34.20; Fri, 09 Jun 2023 01:34:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=b0G1iIy8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240778AbjFIIcS (ORCPT + 99 others); Fri, 9 Jun 2023 04:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240860AbjFIIbS (ORCPT ); Fri, 9 Jun 2023 04:31:18 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D323A81 for ; Fri, 9 Jun 2023 01:30:41 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6563ccf5151so1613240b3a.0 for ; Fri, 09 Jun 2023 01:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1686299440; x=1688891440; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pV7h1an/oO2QW199ipAcSJcet1wN/x+kczYWmCEHXCs=; b=b0G1iIy8jk/1e2oWh3myUohkTqLjDg0Tq4CI+kRftvzNkQ+LNJSu9h43XZZDqjHAcF aVFHd6NQRs/njmFY3G5znn5uTEUTh8V7mtbk62R4LQdUwfocAsD1FguzA4P6CavM94M6 81xCOIZEPqOUAAig7M5fAjSrPCkXkQO5Lpl9o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686299440; x=1688891440; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pV7h1an/oO2QW199ipAcSJcet1wN/x+kczYWmCEHXCs=; b=jLuv6DUhzbHOAAHGLHX+MW4whdl7TvhanwajOsWkJxqG1L0pPqXoVgRDhZT4NuoEEW e33CRJ6pUlCHh8DynlR4gno7FuEJh1P1sn0kIZTP02b5t6dg3S8fxa8tO+BSIPUCqsrV WyQkP+jzeytjVF2Lw4MAwBl0dkyyw3/n0EYJRWEQPhSf0H7bp8uR+9MUG2Q+8bUEWDNL HH3t6O2IrVkykffervxP9m4IGWfBjogJEU8F1TmnKa3hKGNO0A3d9O/iXN9GyJ+Kl8rd rGLQJba66TYNIkPvny3fpoEXZtDDOsbT6HWM/OoGdLVICBs8c0qoAMZcutSMzHKhfDEK Z6Sw== X-Gm-Message-State: AC+VfDzj457ssoLXmmAXSiRBmkfGbI8Ig5YMUqGi3v1Did26NDuJJ/0g +6xFgxxSItvsFsWAJXQmgWpemg== X-Received: by 2002:a05:6a00:1783:b0:662:c48b:47e2 with SMTP id s3-20020a056a00178300b00662c48b47e2mr922501pfg.19.1686299440039; Fri, 09 Jun 2023 01:30:40 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:c2ea:d8e4:1fe8:21f0]) by smtp.gmail.com with ESMTPSA id 23-20020aa79157000000b0063b806b111csm2184327pfi.169.2023.06.09.01.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 01:30:39 -0700 (PDT) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Liam Girdwood , Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/9] regulator: dt-bindings: mt6358: Drop *_sshub regulators Date: Fri, 9 Jun 2023 16:29:59 +0800 Message-ID: <20230609083009.2822259-3-wenst@chromium.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230609083009.2822259-1-wenst@chromium.org> References: <20230609083009.2822259-1-wenst@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The *_sshub regulators are actually alternate configuration interfaces for their non *_sshub counterparts. They are not separate regulator outputs. These registers are intended for the companion processor to use to configure the power rails while the main processor is sleeping. They are not intended for the main operating system to use. Since they are not real outputs they shouldn't be modeled separately. Remove them. Luckily no device tree actually uses them. Signed-off-by: Chen-Yu Tsai --- .../bindings/regulator/mt6358-regulator.txt | 22 +++++-------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt index b22b956d1cbe..b6384306db5c 100644 --- a/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/mt6358-regulator.txt @@ -8,14 +8,14 @@ Documentation/devicetree/bindings/regulator/regulator.txt. The valid names for regulators are:: BUCK: - buck_vdram1, buck_vcore, buck_vcore_sshub, buck_vpa, buck_vproc11, - buck_vproc12, buck_vgpu, buck_vs2, buck_vmodem, buck_vs1 + buck_vdram1, buck_vcore, buck_vpa, buck_vproc11, buck_vproc12, buck_vgpu, + buck_vs2, buck_vmodem, buck_vs1 LDO: ldo_vdram2, ldo_vsim1, ldo_vibr, ldo_vrf12, ldo_vio18, ldo_vusb, ldo_vcamio, ldo_vcamd, ldo_vcn18, ldo_vfe28, ldo_vsram_proc11, ldo_vcn28, ldo_vsram_others, - ldo_vsram_others_sshub, ldo_vsram_gpu, ldo_vxo22, ldo_vefuse, ldo_vaux18, - ldo_vmch, ldo_vbif28, ldo_vsram_proc12, ldo_vcama1, ldo_vemc, ldo_vio28, ldo_va12, - ldo_vrf18, ldo_vcn33, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, ldo_vsim2 + ldo_vsram_gpu, ldo_vxo22, ldo_vefuse, ldo_vaux18, ldo_vmch, ldo_vbif28, + ldo_vsram_proc12, ldo_vcama1, ldo_vemc, ldo_vio28, ldo_va12, ldo_vrf18, + ldo_vcn33, ldo_vcama2, ldo_vmc, ldo_vldo28, ldo_vaud28, ldo_vsim2 Example: @@ -346,17 +346,5 @@ Example: regulator-max-microvolt = <3100000>; regulator-enable-ramp-delay = <540>; }; - - mt6358_vcore_sshub_reg: buck_vcore_sshub { - regulator-name = "vcore_sshub"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1293750>; - }; - - mt6358_vsram_others_sshub_reg: ldo_vsram_others_sshub { - regulator-name = "vsram_others_sshub"; - regulator-min-microvolt = <500000>; - regulator-max-microvolt = <1293750>; - }; }; }; -- 2.41.0.162.gfafddb0af9-goog