From patchwork Thu Oct 27 03:01:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: allen X-Patchwork-Id: 752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp194548dyb; Wed, 26 Oct 2022 20:03:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dlBTVOICNXFkMrXsIDjSUYCk1qqMTSkEel6aTUt8d7Tn2t2+XmTM0FlNwEQr5URbtKmkM X-Received: by 2002:a05:6a00:134f:b0:563:7aa8:5cea with SMTP id k15-20020a056a00134f00b005637aa85ceamr46440420pfu.69.1666839829765; Wed, 26 Oct 2022 20:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666839829; cv=none; d=google.com; s=arc-20160816; b=hFlVLaZr67bf57cMlFDSafgSMKIZczmeW/dxM720Dp4q0KY6YtoL5OgBEasP0KeI71 t8yX4l+HXFyyB6u67RDEoM31PcsOppBwhWuvhUQY6y/0SuAWS/88rBR/PdOiwCASvWtx UgTDNaIr+d3ZG3ENLd/J+AdXO1pRcDcEzI4aqBu7xr870F2UvypOjvfq80+myyM5fGqR NKpz35oExINLdervMOyRgcWIZlScoZMgc+wSejJyPGnToV1zCtXWFoDCK4bTSi+dL85S nekZ2Ee+M12WabQUrCcZpuott9gawCVRgDIjDdKlrpFy/zIDHgI/GOV1vf8y6u4SecGK Endw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from; bh=EyZEi8clrtPKc6x4qOUtfF5Aj661xdHmsgedjbPeACY=; b=nQLPGXbmO5aWh7v2e8NUNS7+vN6rR7biImXI/R1YA12pUL2C8m+/ChCqTWrlIPZRo6 Pfitb9rPCgPacAcdwMzlDdnA1UEPzauUelVjvVsGk0v2n7AqlSXvWbqPJkolhmrzHtI5 F7C4DvrB/YMXax9EXgAhIiBxsT6aUQtuAip4pmHgfYCp2UAgkyTiW7MgHj+5lz7CNRu0 fFHiis3dCjsirBSMXox5GzsBQrm0xr6lLnWeWtcKCm6e9GGZf7BiWIzkNa1V5g01SCnj Mjhd0FKOnsk32CxXMNcmJ1c1tYj13YPYfvm7Z4VfiPNp59ukG0nAQ0dUPg7YjklY/VVV Vwuw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056a00084c00b005632b7b5e41si344534pfk.136.2022.10.26.20.03.09; Wed, 26 Oct 2022 20:03: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; 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 S234193AbiJ0DCb (ORCPT + 99 others); Wed, 26 Oct 2022 23:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234075AbiJ0DCP (ORCPT ); Wed, 26 Oct 2022 23:02:15 -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 436AB1285CC; Wed, 26 Oct 2022 20:02:10 -0700 (PDT) Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 27 Oct 2022 11:02:09 +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 29R327Kg066790; Thu, 27 Oct 2022 11:02:07 +0800 (GMT-8) (envelope-from allen.chen@ite.com.tw) Received: from VirtualBox.internal.ite.com.tw (192.168.70.46) 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; Thu, 27 Oct 2022 11:02:06 +0800 From: allen CC: Allen Chen , Pin-Yen Lin , Jau-Chih Tseng , Hermes Wu , Kenneth Hung , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:DRM DRIVERS" , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , open list Subject: [PATCH v6 0/2] *** IT6505 driver read dt properties *** Date: Thu, 27 Oct 2022 11:01:52 +0800 Message-ID: <20221027030155.59238-1-allen.chen@ite.com.tw> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [192.168.70.46] X-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: C994312C4D7C7AD7551E368439E1BAC17A40D5B6306B4FC6D09D1749855C95E02002:8 X-MAIL: mse.ite.com.tw 29R327Kg066790 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,PDS_RDNS_DYNAMIC_FP, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) 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?1747808241086462340?= X-GMAIL-MSGID: =?utf-8?q?1747808241086462340?= This series let driver can read properties from dt to restrict dp output bandwidth. Changes in v3: -Rename property name. Changes in v4: -Use data-lanes and link-frequencies instead of "ite,dp-output-data-lane-count" and "ite,dp-output-max-pixel-clock-mhz". Changes in v5: -Add a port and a endpoint. -Move data-lanes property to the output endpoint. Changes in v6: -Modified data-lanes description by suggestion. allen chen (2): dt-bindings: it6505: add properties to restrict output bandwidth drm/bridge: add it6505 driver to read data-lanes and link-frequencies from dt .../bindings/display/bridge/ite,it6505.yaml | 68 ++++++++++++++-- drivers/gpu/drm/bridge/ite-it6505.c | 80 ++++++++++++++++++- 2 files changed, 139 insertions(+), 9 deletions(-)