From patchwork Mon Oct 24 11:29:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9984 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp615275wru; Mon, 24 Oct 2022 12:25:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69VBQ9zWjLHcMfbKXmNhikIoh8pSurU9dlhoN0DVOBG9cVcW4VR92fSmw6TX5G8KZh2hkr X-Received: by 2002:a17:907:160c:b0:78d:b6f5:9f56 with SMTP id hb12-20020a170907160c00b0078db6f59f56mr27606948ejc.325.1666639559499; Mon, 24 Oct 2022 12:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666639559; cv=none; d=google.com; s=arc-20160816; b=x7NobA9uI0kuQfTm1VGoi3Aop541FdHJVicbLEGdPuoB0LCdCNM/IG2FDXV+IsjAke l1tEwuVeqvdiUaA89I5bSfWhPr3n5IiYVfXPV9UOH9Arya3EYdbA5AWEKw02XqI4epBo hyplTsaTHdnmF9sEesPtuhaSLNeOBMrf0JYPUBc8zyJbEDUhz6+tAIdeEedZWhJvNDSB fVlehbtVdXAM6eMOJRXH+HRG36mQWWHNx5YmoVvdOgy4prRSmAP/YRuekrM+WY+gSQKt C24nGB/Jx5+iOSzrTp+yfyFRARl1ndd77vcA5j88v/F4cEPHDPQOonnmu8KPFdpm0Ibx X0MA== 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=fZIc4j7fFpfigGOprjiNqR85+KvBnBxWLWjEVCLBIKZsO1uXjW3ND4v0d344JOQdFJ nqCMjg4ij49NMK3peeHPxirYJ17d7rNUWY3fJhGohUnRY78knaiysjH9t9AeWqU54zwN DI/44VPk99f87hRtG20QMthd0Nou0Vu1uwxdv9q6F81FrfnASuNR8xe9CY5SOj7h3Zb5 7AVPIeMgbxN9R1kNRbCGufxTHm+qWY3CBgxs+Oio76UBjRf0077csF+kLq4F/fs9SBCE ze21DLIz7KOFoCkQLOsZ76A3V89hclBD2bOVijWVn59pqDa9Egf67d2xi5BtwDBgZFK3 FTwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gvB5d8QD; 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 t4-20020a056402524400b00458bbd3a0d2si616637edd.602.2022.10.24.12.25.34; Mon, 24 Oct 2022 12:25:59 -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=gvB5d8QD; 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 S232683AbiJXTOe (ORCPT + 99 others); Mon, 24 Oct 2022 15:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233422AbiJXTOO (ORCPT ); Mon, 24 Oct 2022 15:14:14 -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 11C2F13D50; Mon, 24 Oct 2022 10:52:31 -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 D3BECB81989; Mon, 24 Oct 2022 12:42:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ECE5C433D7; Mon, 24 Oct 2022 12:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666615337; bh=x6mznkUKS4RGGDEjJL95F1nepkI4ncjozWX6b+ZXK9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gvB5d8QD+JZjkEZNfIX4zU+Qd8NAplAeDIW5noG1YNLwcTZDGMYGOMkgoe2kZ3gXZ Ot1KU2RAIiGWRTtd8kuM2NLuCqYfK7rEB0HPKW18Tg8/jyjpp/oPg1TagmNt90kxjn l0DQZM5qpWImEDNQTlMbBBiTduyLzV3XOjR9A1jI= 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.15 213/530] drm/bridge: parade-ps8640: Fix regulator supply order Date: Mon, 24 Oct 2022 13:29:17 +0200 Message-Id: <20221024113054.714124602@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113044.976326639@linuxfoundation.org> References: <20221024113044.976326639@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?1747598242721768444?= X-GMAIL-MSGID: =?utf-8?q?1747598242721768444?= 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)