From patchwork Thu Jun 11 10:23:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ricardo_Ca=C3=B1uelo?= X-Patchwork-Id: 11599707 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 00CC8912 for ; Thu, 11 Jun 2020 10:24:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D299020760 for ; Thu, 11 Jun 2020 10:24:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="py2Vv4uB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D299020760 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5ztsXgM6kJ1839qiM1bNilZC4XsmYONH+pAlO0FIE9E=; b=py2Vv4uBBuuTnK 9Ss5lswRPeOfH9dw9BijyToclbYpbQ3qj0x4+6ntxkygFwVOfqhZ1/At88Zvas+1cnouVo+iVMarx 0utg9hhW/hWYAEraW91R2/0zztPL9r3b6Bh8xl8Ov82QdYJL8i3tQRVNLtg61hPBB2uoqYTWo+z/u sIQBVbQ0SLRcwW1Ao6RrsWCLkJm8SP0tvgTAPQfubpqZZsODMY3UFkVmDEc04NMT5RyLFJHm0uPEF yXVOa3Xewq7y/ILiBuCmFLqwGypob9m8tdeKJtEgAXwN2tVYA2K0K74R0tuEwb6r4xuetdQbyXoav 0j01pgh7UtSIVAhHSNJA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjKOD-0002ZY-Ui; Thu, 11 Jun 2020 10:24:53 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjKNe-00025f-DV for linux-arm-kernel@lists.infradead.org; Thu, 11 Jun 2020 10:24:21 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: rcn) with ESMTPSA id 638E02A38CE From: =?utf-8?q?Ricardo_Ca=C3=B1uelo?= To: Laurent.pinchart@ideasonboard.com Subject: [PATCH v3 0/5] dt-bindings: display: ti,tfp410.txt: convert to yaml Date: Thu, 11 Jun 2020 12:23:51 +0200 Message-Id: <20200611102356.31563-1-ricardo.canuelo@collabora.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200611_032418_581196_6717A3A9 X-CRM114-Status: GOOD ( 10.86 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [46.235.227.227 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, jason@lakedaemon.net, airlied@linux.ie, dri-devel@lists.freedesktop.org, robh+dt@kernel.org, tomi.valkeinen@ti.com, kernel@collabora.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series converts the DT binding for the TI TFP410 DPI-to-DVI encoder to json-schema. This also fixes a minor bug in the ti-tfp410 driver that would cause a wrong calculation of the setup and hold times when the de-skew feature is enabled. The retrieval of the de-skew value from the DT has also been updated to reflect the binding changes. Changes in v3: - ti,tfp410.yaml - Original translation to yaml separated into its own commit with no additional changes (Laurent Pinchart). - Redefinition of ti,deskew property in its own commit (Laurent). - Removal of unnecessary text (Laurent). - New conditional constraint for ti,deskew (Laurent). - "ports" node set as optional (Rob Herring). - dove-sbc-a510.dts: removed. This comes from Rob's suggestion that the "ports" node should be optional instead of defining empty port nodes in DTs files. - ti-tfp410.c - Original changes split into two commits. The first one changes the datatype and retrieval of the deskew property. The second one fixes the calculation of hold and setup times (Laurent). The bindings have been tested with: make dt_binding_check ARCH= DT_SCHEMA_FILES=<...ti,tfp410.yaml> make dtbs_check ARCH= DT_SCHEMA_FILES=<...ti,tfp410.yaml> for = arm and arm64. This uncovered a number of dts files that use the TFP410 but not through I2C and don't define the ti,deskew property. These should be fixed at some point. Ricardo CaƱuelo (5): dt-bindings: display: ti,tfp410.txt: convert to yaml dt-bindings: display: ti,tfp410.yaml: Redefine ti,deskew property drm/bridge: tfp410: fix de-skew value retrieval from DT drm/bridge: tfp410: Fix setup and hold time calculation dt-bindings: display: ti,tfp410.yaml: make the ports node optional .../bindings/display/bridge/ti,tfp410.txt | 66 --------- .../bindings/display/bridge/ti,tfp410.yaml | 130 ++++++++++++++++++ drivers/gpu/drm/bridge/ti-tfp410.c | 10 +- 3 files changed, 135 insertions(+), 71 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/bridge/ti,tfp410.txt create mode 100644 Documentation/devicetree/bindings/display/bridge/ti,tfp410.yaml