From patchwork Mon Oct 24 11:29:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9902 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp574101wru; Mon, 24 Oct 2022 10:39:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7PNYrE2BQ4yqUP+1ZNUwi+G3vfzeTZJ1+obXJf3ow6vB3s2AuhDqLoGI5WBMvHLS/g5hrq X-Received: by 2002:a17:902:e54b:b0:186:5fba:13a5 with SMTP id n11-20020a170902e54b00b001865fba13a5mr25713901plf.173.1666633189348; Mon, 24 Oct 2022 10:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666633189; cv=none; d=google.com; s=arc-20160816; b=z2bTep8FqZdR6/uAl307aTIEnnvCW3Bj3q3m/MzmjKtl8VkzYxLD28IHze3A6cE/br anunHU/tcU0Fmy0PtZO/J6w7GuQbNsaAG3kqsKjp7RS6p6CbTkX4ULTSFndlyN/2LZrz OgrV+XKalTWDYOKE9IxHkybGsqt1QX/ov3LH14mOOBuhCc/K3C0JK8TssejqyH1RIY09 KJ2zt6UXfHCLl79iC9PrX23JgRrfqbuzdiOnHUoRsn+sw9U8EN/5IsK5O/cnbvYRMmrX XRcr8Kmqeaqifd32Fk2s+vjngQt2Su0yO6gvuOP5OEKkwlPJp3KKWlaO5Uu0IkaW8PoP K1gg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IfanPIEHlfsFv4PvjukZbZejIKTi7mcEjDnKAJVa++E=; b=AT+clLKXEK6Ekami5nZOY6i83NkQZXvsV1NgudcqyjgwoS4zou7NBER2wd7LJdI+9i 3l3NLPSD1CvprDAn7c1IIDGnfH0JDPFgU+zL9e+2P6C9443R8kXKbXyUyPC8Wy4ytBTM VTFHW23ocwOI1atf31nEyJPb7eLGjP9GmjFEWGgd8jb+ciAd04i28N6BSXIeCkN367LR 7U36F6LRfdrXhHOq4zdJ8ZRPBPKRG0VMsMOIILhwAqTZGE/au6XkIVpPsvpTreigD9S6 YUClmB5pgzcea9JDmHazBlyV6Umxd73F91Tj+wVuh2jJRFoM7O+8ClLutxzZDN01vFE5 zE0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r7LgSN7F; 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=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u62-20020a638541000000b0046b30704f88si133974pgd.5.2022.10.24.10.39.34; Mon, 24 Oct 2022 10:39:49 -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=@linuxfoundation.org header.s=korg header.b=r7LgSN7F; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233343AbiJXRiK (ORCPT + 99 others); Mon, 24 Oct 2022 13:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233286AbiJXRhj (ORCPT ); Mon, 24 Oct 2022 13:37:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9922F7F25B; Mon, 24 Oct 2022 09:12:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2276DB81646; Mon, 24 Oct 2022 12:22:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 801C6C433C1; Mon, 24 Oct 2022 12:22:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614134; bh=x6mznkUKS4RGGDEjJL95F1nepkI4ncjozWX6b+ZXK9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r7LgSN7F1LaFlz+UZWtWz39WTA/F0Cx2e5VSYTaAVeZDAHSEeVIWTe/rw97wGV6rV uyVZSrgPF57b0NeZ4RYDZ5/8EOfGSUZ7P4gv56Xxb4trrfy4kKgWRkKRM7tnsPVwQn 5mQR8eXNCUO6+qP/hYkoawjWzSELC43xoya6glic= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , Neil Armstrong , Robert Foss , Sasha Levin Subject: [PATCH 5.10 144/390] drm/bridge: parade-ps8640: Fix regulator supply order Date: Mon, 24 Oct 2022 13:29:01 +0200 Message-Id: <20221024113028.819215442@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747591563016945753?= X-GMAIL-MSGID: =?utf-8?q?1747591563016945753?= From: Chen-Yu Tsai [ Upstream commit fc94224c2e0ae8d83ac511a3ef4962178505469d ] The datasheet says that VDD12 must be enabled and at full voltage before VDD33 is enabled. Reorder the bulk regulator supply names so that VDD12 is enabled before VDD33. Any enable ramp delays should be handled by setting proper constraints on the regulators. Fixes: bc1aee7fc8f0 ("drm/bridge: Add I2C based driver for ps8640 bridge") Signed-off-by: Chen-Yu Tsai Reviewed-by: Neil Armstrong Signed-off-by: Robert Foss Link: https://patchwork.freedesktop.org/patch/msgid/20220721092258.3397461-1-wenst@chromium.org Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/bridge/parade-ps8640.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/bridge/parade-ps8640.c +++ b/drivers/gpu/drm/bridge/parade-ps8640.c @@ -333,8 +333,8 @@ static int ps8640_probe(struct i2c_clien if (IS_ERR(ps_bridge->panel_bridge)) return PTR_ERR(ps_bridge->panel_bridge); - ps_bridge->supplies[0].supply = "vdd33"; - ps_bridge->supplies[1].supply = "vdd12"; + ps_bridge->supplies[0].supply = "vdd12"; + ps_bridge->supplies[1].supply = "vdd33"; ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ps_bridge->supplies), ps_bridge->supplies); if (ret)