Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4163758imw; Tue, 12 Jul 2022 03:08:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tJvm60XjCqFPYuJl+blNJ8D8WGEQl4JEI+AX33hoqeFfGk1HRmUML446NW2TQ044eSTxn5 X-Received: by 2002:a05:6a00:725:b0:528:d11c:26ef with SMTP id 5-20020a056a00072500b00528d11c26efmr23186548pfm.19.1657620523818; Tue, 12 Jul 2022 03:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657620523; cv=none; d=google.com; s=arc-20160816; b=dfTCFbhh4FFAA0h5+G4NiWhCz3sQheAx1lY44d4TXHz2gU6yC4C/BM5LONlZas6Jct ThJSCEEtUmitmXWM7C+ypR9WD3/k2XYq+FH91QFydnrqWFwMca8KTv1Xl0gw4EwO1hGI PVFezwizLP4PZRlgjYygHPApnEBMeF6IYA4AeKoe2zUVif8UKtYbTFjFoWKcqe5bHsC+ jnxHDKVAUpM/JZj2Kq74wIxY1NLZ5+OSEoAijedDT2iykbcXBQOkjASEUKTVjdF6Xz/e BbQGtOrL5dmYBI9Ki6MbL/VZ57hlPKoLj9xmsa0v7WmUziwGYGOSJeTNfH7XQaoGvkQG 2k9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ap4l5XvEX4U5y4HXdhNjnDCI2p/ybo07t52ucHAEl58=; b=MEQ8diGHQjvJhAYh1k/g8zfXUyL6+7Fcxc3IN9jimF4+l5EFo2ut7n+XmXHDMOLyas mDtKr2TSiImrDqF3QwzhBNeeeojBzgYlBaEInlUbp9byBficYYM7LOSROk1HuCNbIaUT uO4bUs79i3LZOVuTUorUBz6duYNBBuKiCL4Hw60w4TM3HILNkjX/sjTskbP1PGcKSrzN R/92IxFirbEKZWzNs/bLqCYoTAYhiYN6vGoNOOzoe1Q1q2WUqijNFIjRvc1twZCuUL6o IfRwG+7pzKfgKIOhcNclA3ukr44RZLfQmY7DtRIkPnbeWWWXDWUO7gdxCgexHCbV8rgR 8t2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nF5jk4Ib; 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 bd2-20020a170902830200b00166449db813si11062164plb.464.2022.07.12.03.08.30; Tue, 12 Jul 2022 03:08:43 -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=nF5jk4Ib; 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 S232575AbiGLJlR (ORCPT + 99 others); Tue, 12 Jul 2022 05:41:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbiGLJlN (ORCPT ); Tue, 12 Jul 2022 05:41:13 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B92B5A2EE4 for ; Tue, 12 Jul 2022 02:41:11 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id e69so13019660ybh.2 for ; Tue, 12 Jul 2022 02:41:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ap4l5XvEX4U5y4HXdhNjnDCI2p/ybo07t52ucHAEl58=; b=nF5jk4IbkWMGbIvw6tuAwseMZKQOb4ZuSAzGDcOJ6hXjhVuy5eJJvBwMgRRJKyQTok R88q4K0mceZid2iijl+74nhtOqj+jdMd/PaLJmi1NaA24/LA6+6TXm9v7UxfZofiD0CW XaP6nyYSFoHb5NPejvOBbiHaG1D3SuT886+Pg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ap4l5XvEX4U5y4HXdhNjnDCI2p/ybo07t52ucHAEl58=; b=ZlWECn87eWX2t2sGI+9b8Bhj8wUjXju9wdxyKgBYOId6DcN5gYOOVAJ7o/okAOH5OR JNICfUpnhVzeUlqHPz6gdKzZZCWGhMv/hnjf1681WMEq/tfJtHpzsp+7aR9VOrDndG5t OvZ+2uE0YRn1FVVi6jaGmGfjyttQ5DZZk/h/HRvgG9mFGuLkCCAQ3KX/GeYjJIYtPatw a3mJuthVYHDbg7wN6i8sNaQt42tommxKIeDFAWmBrWxY1bL2X4J4SsEKcdMFsKcPZt9I mlWtw9FEuVmrQWjhqkfU03VgS0QdTtuZYEw2rG8IQw1ItuayzcWGY6c8O7/X1bPgDzaq QDJg== X-Gm-Message-State: AJIora/dz/lJY8j1qGHibhY8JloJ9gvdkHnzZn2ClNHnkqU2rrqbFNnM rPLOp/MPyyghi4N/J3WLFMEntTDqCCxS8UOr06m6gQ== X-Received: by 2002:a05:6902:728:b0:66e:8f7b:a252 with SMTP id l8-20020a056902072800b0066e8f7ba252mr20510340ybt.584.1657618871004; Tue, 12 Jul 2022 02:41:11 -0700 (PDT) MIME-Version: 1.0 References: <20220707080600.49041-1-allen.chen@ite.com.tw> <20220707080600.49041-2-allen.chen@ite.com.tw> In-Reply-To: From: Chen-Yu Tsai Date: Tue, 12 Jul 2022 17:41:00 +0800 Message-ID: Subject: Re: [PATCH 1/3] drm/bridge: it6505: Modified power sequence To: Robert Foss Cc: allen , Kenneth Hung , Jau-Chih Tseng , David Airlie , "open list:DRM DRIVERS" , Pin-yen Lin , open list , Jernej Skrabec , Neil Armstrong , Pin-Yen Lin , Hermes Wu , Laurent Pinchart , Andrzej Hajda , Jonas Karlman Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 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 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 On Tue, Jul 12, 2022 at 4:08 PM Robert Foss wrote: > > Hi Allen, > > On Thu, 7 Jul 2022 at 10:06, allen wrote: > > > > From: allen chen > > > > Change power sequence to meet it6505 data sheet requirement when boot on. > > > > Signed-off-by: Pin-Yen Lin > > Signed-off-by: Allen Chen > > > > --- > > drivers/gpu/drm/bridge/ite-it6505.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/bridge/ite-it6505.c b/drivers/gpu/drm/bridge/ite-it6505.c > > index 2d119e3016b3..aa5e0aa1af85 100644 > > --- a/drivers/gpu/drm/bridge/ite-it6505.c > > +++ b/drivers/gpu/drm/bridge/ite-it6505.c > > @@ -3029,7 +3029,7 @@ static int it6505_init_pdata(struct it6505 *it6505) > > return PTR_ERR(pdata->ovdd); > > } > > > > - pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); > > + pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); > > Making this change is problematic since it requires a corresponding > change in all of the device trees that use this device. It's against > policy to change this interface after it has been introduced. > > Unless anyone thinks otherwise, I would like to see this patch dropped. I think you're confusing GPIO_ACTIVE_{LOW,HIGH} flags in the device tree vs GPIOD_OUT_{LOW,HIGH}, which just sets the "default" state the GPIO should be in when it is requested. This change doesn't impact the device tree. Regards ChenYu > > if (IS_ERR(pdata->gpiod_reset)) { > > dev_err(dev, "gpiod_reset gpio not found"); > > return PTR_ERR(pdata->gpiod_reset); > > -- > > 2.25.1 > >