From patchwork Sat Apr 8 09:47:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 7918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp789642vqo; Sat, 8 Apr 2023 03:18:48 -0700 (PDT) X-Google-Smtp-Source: AKy350aw/noo8hi+FWb4/sopit/cuODBUGemRjzdIeNRYKVdVWoG3GSlvX3d3tgTSsi5WIUw4hfk X-Received: by 2002:a17:906:e098:b0:939:fb22:c4c7 with SMTP id gh24-20020a170906e09800b00939fb22c4c7mr2143752ejb.43.1680949127806; Sat, 08 Apr 2023 03:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680949127; cv=none; d=google.com; s=arc-20160816; b=CIeVxNJ25h5vojCsCgEG+5Fzy6lHYYhFo7M9QqAfBlEGUp1WYCwuZ3bAttF9NbBQ2/ xiJCgpyMnXS38BX7wC6ld0FPunxp9vvo0wDEBokwUYu8OgYMg80M8bHLxtRxZowXH5bk WBNDW5gMvYaRF5zK2fykCWYbWn+ZiJGtBAnr9cYcn0KWTVMzrJxaKPqzO6jdXiTVTYff sqtborq3gJ/XzDboKD6o5m66x8QJG33Y3C9tSP6AfHC4aCBx9asPFk4lyBq/SC4o6RWv gWnOPnt5/05JiOQiYb+QpE/2+8EnYWPWWl7SI6eAHkI655enmSeQ4ImipIpGjLkpesPz 6BjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0V+79f1G4EAx5wqA50mN9ZgwAmoB9D1BTsUKh1syJbQ=; b=hxqGKEPoWKjmZslpd0YL1t+lgFDmil1ULsXKWoFS8z6FG+xHOoy8DehcT7EjTQBaaB zJbwJdQblljPv/zkCeL8oPo1IYjc/1rMFE01nIFv8HLvMYK5xlEGzCr2KGlOKksxjc1u fNwJUuMcGsY/RaIVuw/Wa5T8HO7Mxp/bAPv1cFtOBjgLLaIXynh42ROrhdy3/srBp08h IlzlRSWdJ+o3ynwdNLz7xyzVNuboeTpeGF7T+FEcGHVZMfbvXszEUAQZv/CZs+R0VXax Xwvmndq3SObH0rl3W02sxzjUbiaJVT6j3v1cz7/P7N92+BWC2ddsFcMVtH2nNvO9OQ/5 EUiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Lg5qgz6g; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lz14-20020a170906fb0e00b009354355ed33si5099235ejb.81.2023.04.08.03.18.23; Sat, 08 Apr 2023 03:18:47 -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=@gmail.com header.s=20210112 header.b=Lg5qgz6g; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbjDHJru (ORCPT + 99 others); Sat, 8 Apr 2023 05:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjDHJrs (ORCPT ); Sat, 8 Apr 2023 05:47:48 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F9ACCC2C; Sat, 8 Apr 2023 02:47:47 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-50489a2bc4dso208389a12.0; Sat, 08 Apr 2023 02:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680947265; x=1683539265; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0V+79f1G4EAx5wqA50mN9ZgwAmoB9D1BTsUKh1syJbQ=; b=Lg5qgz6geHqN2+2ckjZRVy55WQ+OScakxL3RdFKWObkihkC1OoB7qyJsweOcRsXKXm J7J30IGbxio4s0O2uc2DnoB3QsIFfcafpI0IaQnYHl2DwVBVKHlmiCWM/OsMkHDHzvTZ bgvgik6N/BR7PMYmTcd/yT5Qimb92ppB97DN3+Zcu3KlzKAKDDGSsO0ecBIw589+wA2u LuNCyfVtljT5VFWcLhnTqv0cXR63Y3lZpTuYL/x0B1Q1h42c3B+TZCrKAIe9Yx0rNIxp 4nOU8OQVOy1j1PqJAwyDyHSf0Boj4f565P5H+SCYJ+lb+Adh7eBmhCwdRnAQH+GStS9S IG4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680947265; x=1683539265; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0V+79f1G4EAx5wqA50mN9ZgwAmoB9D1BTsUKh1syJbQ=; b=KnU9pDFF2fzsxfSRPMaYtmR5h2fC+Rkyelc85SKQSJnRZF/draeaDlGzW+wWIV6OoI tk96YUoiLngYk76F450TC7ZvwxqIRgP2rX6USyVuEbxms94+JtqcHVOHeQWk5FurHiIz 96kcdIlA35PFn1YLSFaUMNpaatZLLUBtpXA2d0f1ty9FDlwDLIQYn7srijTYMxfqFpiR H6PeRKYBR+mxbpBQ6gCnhVpXfP5GAu9vGj59pVrnkR3FK6oNHyolYlNgd8utfKzzC82x Vi0ahTvEcD9BN6caS6Y8TdD4tXdPV4nVM0p11qKoEuRPs7Gme3jD7SinfdrHNMoLwXqa Tk9Q== X-Gm-Message-State: AAQBX9cB7fYFERvDc9h7v8QvCT9cPPAAS9YwxIPXPzW4foPDjOyIdIgT NxcNUAEIUPphel34ErfGQc0= X-Received: by 2002:a05:6402:32c:b0:501:d43e:d1e3 with SMTP id q12-20020a056402032c00b00501d43ed1e3mr4418282edw.8.1680947265509; Sat, 08 Apr 2023 02:47:45 -0700 (PDT) Received: from xeon.. ([188.163.112.79]) by smtp.gmail.com with ESMTPSA id a21-20020a50c315000000b0050481736f0csm982297edb.12.2023.04.08.02.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 02:47:45 -0700 (PDT) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Thierry Reding , Jonathan Hunter , David Airlie , Daniel Vetter , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH v1 0/2] Support bridge/connector by Tegra HDMI Date: Sat, 8 Apr 2023 12:47:21 +0300 Message-Id: <20230408094723.12733-1-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762602912779004308?= X-GMAIL-MSGID: =?utf-8?q?1762602912779004308?= This patch adds support for the bridge/connector attached to the HDMI output, allowing to model the hardware properly. It keeps backwards compatibility with existing bindings and is required by devices which have a simple or MHL bridge connected to HDMI output like ASUS P1801-T or LG P880/P895 or HTC One X. Tested on ASUS Transformers which have no dedicated bridge but have type d HDMI connector directly available. Tests went smoothly. Maxim Schwalm (1): drm/tegra: output: hdmi: Support bridge/connector Svyatoslav Ryhel (1): ARM: tegra: transformers: add connector node arch/arm/boot/dts/tegra20-asus-tf101.dts | 22 ++++++++-- .../dts/tegra30-asus-transformer-common.dtsi | 21 ++++++++- drivers/gpu/drm/tegra/hdmi.c | 44 ++++++++++++++----- 3 files changed, 71 insertions(+), 16 deletions(-)