Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4138818imw; Tue, 12 Jul 2022 02:34:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tDytGUBB7w3r0qOhr2mwzw8r2PALmQjoGfi+lV2WC1VTzxWfRd4JDQqEeFzsbwWI2GsPRm X-Received: by 2002:a63:1259:0:b0:40d:d290:24ef with SMTP id 25-20020a631259000000b0040dd29024efmr19705736pgs.141.1657618475347; Tue, 12 Jul 2022 02:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657618475; cv=none; d=google.com; s=arc-20160816; b=UNP60e5RKg1+LQD5q8OqSs0WZyUoYR5qdH0HcTHs43Jg1lwUT0WLd+aNWGeBup6UYV o6MppbMM5t6X13UQWMZ1m/wzOlOCbijK0gQhe7jSg9y06itlk5TBP7XO94E6XnJl0RTG KUGv2PMoyt55Sg2hId4tHet8uB9OsZdXWXFsBRBzdvLnQrLI9PrXUJvanbux/HKm6BVY bcVnxgjktEaghIqKobLqPJxynH7buriQMWDBR5cuBpxvFfkrEdvrp86XHfRqVxIT50Aj kuZFwtii3eJGUD8TjBTlro7wCGEJBvblpDzzyMLAaLYWiviMn9cDC6SiPeJwCbUBhjUj Hpig== 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=64H1Kxgm8ncmGDcNtttCQA5XuXOfCcJqu3peaSGQwt0=; b=PpXjMdJ1/q8e1oT4HydjSnn9eokGfUtwZqa8koN0eyi+rfSlKuGEbNQXOzuzE0syG4 RWSN13fkE1QS32zQsnaIQYKezWq3X1kTmGN2wTAge7JGVhPTQFpVz9TWnXowY2dLKW8X fuxcRhJ7FthuME10ME3llW8Ai47K4lw2hdTiR5+VZHWc7fvMYD4SOOQaJUkzZZD34wOw tc2ZlPRi1aIa903M8XtvMo89/Sus09xvpmv1ule2OIb/9rFDUx9lHPmcA8UzALSjqCIy yLVxJmB8Q2VOxhsMb9nXoLFWPZaAreDlWZpSTnytaR1Q4Al3T3LC6nUzEC7Ep6j++waH JksQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LNz3i4o2; 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 m38-20020a635826000000b004197b8caca9si184183pgb.626.2022.07.12.02.34.21; Tue, 12 Jul 2022 02:34:35 -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=LNz3i4o2; 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 S231806AbiGLJIW (ORCPT + 99 others); Tue, 12 Jul 2022 05:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbiGLJIR (ORCPT ); Tue, 12 Jul 2022 05:08:17 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34E95073A for ; Tue, 12 Jul 2022 02:08:15 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id h17so10294597wrx.0 for ; Tue, 12 Jul 2022 02:08:15 -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=64H1Kxgm8ncmGDcNtttCQA5XuXOfCcJqu3peaSGQwt0=; b=LNz3i4o2jAUEcKiMvsU1dfaggfgUlmGi8O0gCZsYDtksi3Ay6mT+0QO1Ws/AQ0xRf7 OxiV1c5uRao+KCfHGIwCbH8P2LGz5roJlvYguREHYMFQXtL5jgUTD55IOkgc/jvTEcPO GSgZA5VVRaX3K9fFfaktQ2ZRV1FCXoL/jQxSk= 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=64H1Kxgm8ncmGDcNtttCQA5XuXOfCcJqu3peaSGQwt0=; b=BszU/DpdHzqXlwwriz0S4VgMS5nsi2kxk2daPEhsP+CDF4WTGQFB/tbSrXTO+CLG/u SbKS8Gj+8v0loSGWwIn3FJc+WQq6EpsFC8UyAFU8MAgYu5cYbW8wBthWNmPdZRPQNkdE MZo7/HrLZCGqOhRx0JZ9b4XuD1PgwGshjrFM8pjBCElAh4t2iQnTPO67u1CfoXThKPc0 wTuKDdY1wNpNrpiSYK/HKWxpSYJXkfz1ARpdrGEl/Xb9GfCocH+xxTfKM26LHZchf8kT 24TNR3wFcOJ5F3Z2vDA4sNhxRrGfMbBbXq7hWxl/L6/6TMcC9GGMvmFdkJWKzsS/NPuy dXSg== X-Gm-Message-State: AJIora9RsjI7TSsC7ND0gdWqjQbiRrIAR9bz2k4I9nxHDhUi09BR9QrV 2s83iFr3Pb13I0m2nB5rhMLej+o76wBsL8FdJVKHzg== X-Received: by 2002:a5d:64cc:0:b0:21d:a4bd:fdbe with SMTP id f12-20020a5d64cc000000b0021da4bdfdbemr9984122wri.580.1657616894391; Tue, 12 Jul 2022 02:08:14 -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: Pin-yen Lin Date: Tue, 12 Jul 2022 17:08:03 +0800 Message-ID: Subject: Re: [PATCH 1/3] drm/bridge: it6505: Modified power sequence To: Robert Foss Cc: allen , Pin-yen Lin , Jau-Chih Tseng , Kenneth Hung , Hermes Wu , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , "open list:DRM DRIVERS" , open list 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 Hi Robert, On Tue, Jul 12, 2022 at 4:07 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 don't really understand why this would require corresponding change in device trees. Currently there's no real it6505 user on upstream. Also, the GPIO value will be changed in it6505_poweron, so this change only affects the power on sequence of it6505. > > > if (IS_ERR(pdata->gpiod_reset)) { > > dev_err(dev, "gpiod_reset gpio not found"); > > return PTR_ERR(pdata->gpiod_reset); > > -- > > 2.25.1 > >