Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4215170imw; Tue, 12 Jul 2022 04:12:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sJgAeLwP4c5E2xI3mZoFS82ad6tgm7J7H7cZZlnYJ3A8AXpDEYP/C6E0HX05A5ZoaLe0+k X-Received: by 2002:a17:90b:1c87:b0:1ef:1e29:8a93 with SMTP id oo7-20020a17090b1c8700b001ef1e298a93mr3659452pjb.179.1657624339743; Tue, 12 Jul 2022 04:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657624339; cv=none; d=google.com; s=arc-20160816; b=vJBx+PdF3jX6l6vvAtwROO2EF0/RJ4DEBTasiK50GggCwL8My/oi6H3aEvndCjk4Gw YhXqHbHVqorRnKGITKdxfX7UUP6YmqSGsIbvoMQB9k9p5DckWPWDrkVTpiHZ6jQL1fwY 5q+jmMpzohwNU44sar2/s0lEy52D0syPk+h7LzHs/udV2RmVSRi4lsFPk2EKnFOd0YhW DW0MYwcsAgZBapTIrojQZ6pWV4e/gClX/prM9IokcOAKH+OXvZnL9ZxOMGHqBZbxHtHf 3+noRcgCDoBhuFYF0EnB7Il1A+UU8qYGYc4Spdj2wowoLnhlrbxbNxIio20Osnq20nQE zGCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=VPgp6fm6j0CAsKXk7ysI7IhzdRCmgGccQ1q7bwN7wVw=; b=XfFnao1IYE+yV1OhnvmCm5jjxSC2Wg0leZY7au1LSSUefHlRfIYWbrI90a030cYx9a lD7D5BQCBXkn1isLGx06O+BQvylsg0b9G+ekVfsq+hEXfcUw8WbhEOZpUGl0+7QHioe6 pKSBgAYK6i/AEqJRF99rg+8x4/NvqRssnMMDRz50GW87ez9gdvHoZlm14ur0UdoTN8bQ C4KdjHA5IatH2iyMMlxaU3wRVU6QMTRgiiE1gZIFjqphmUgecF0FFYhrIQ0781kyyf9P pcZ3jKwSRDUH+SUzSZ6M0qExLRHhqtKrDaB7ybAPeycWKaOdYOPJ6+EeFn2fuGOqVz5q w8sQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14-20020a170902e84e00b0016c30af9ec7si16161593plg.599.2022.07.12.04.12.02; Tue, 12 Jul 2022 04:12:19 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232590AbiGLKVh (ORCPT + 99 others); Tue, 12 Jul 2022 06:21:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232589AbiGLKVd (ORCPT ); Tue, 12 Jul 2022 06:21:33 -0400 Received: from ironport.ite.com.tw (60-251-196-230.hinet-ip.hinet.net [60.251.196.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE0B8ADD4D for ; Tue, 12 Jul 2022 03:21:29 -0700 (PDT) Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 12 Jul 2022 18:21:28 +0800 Received: from CSBMAIL1.internal.ite.com.tw (CSBMAIL1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 26CALNsx077982; Tue, 12 Jul 2022 18:21:23 +0800 (GMT-8) (envelope-from allen.chen@ite.com.tw) Received: from CSBMAIL1.internal.ite.com.tw (192.168.65.58) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.14; Tue, 12 Jul 2022 18:21:24 +0800 Received: from CSBMAIL1.internal.ite.com.tw ([fe80::dd22:b444:859b:61c7]) by CSBMAIL1.internal.ite.com.tw ([fe80::dd22:b444:859b:61c7%18]) with mapi id 15.01.2176.014; Tue, 12 Jul 2022 18:21:24 +0800 From: To: CC: , , , , , , , , , , , , , , , , , , Subject: RE: [PATCH] drm/bridge: add it6505 driver read config from dt property Thread-Topic: [PATCH] drm/bridge: add it6505 driver read config from dt property Thread-Index: AQHYiiU2sEhaoVt2QkuGqiQ1tO5jFa16nKiw Date: Tue, 12 Jul 2022 10:21:24 +0000 Message-ID: <3adce6f63a41434ea0b127bb9e793446@ite.com.tw> References: <20220623093154.52701-1-allen.chen@ite.com.tw> <7f565036-df78-a4e7-db5e-259115daaf79@collabora.com> In-Reply-To: <7f565036-df78-a4e7-db5e-259115daaf79@collabora.com> Accept-Language: en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.70.46] x-tm-snts-smtp: 267CFC6B8D3D45475EDCB01AC192F3F5A0981F48C11BA41AE24501DA5024DE4C2002:8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MAIL: mse.ite.com.tw 26CALNsx077982 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 SGkgQW5nZWxvR2lvYW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