From patchwork Mon Feb 25 11:23:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 159169 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp1907784jad; Mon, 25 Feb 2019 03:23:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IbarLDQZwc9dAiY+iptejKMAzeopQy2cJ7XgY+1oXILWT+FeTixGSRR5TdyKYm3u+IefHbz X-Received: by 2002:a63:1ce:: with SMTP id 197mr18504543pgb.47.1551093813398; Mon, 25 Feb 2019 03:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551093813; cv=none; d=google.com; s=arc-20160816; b=LN1J7nC7H1/lh9wPCEy+wgoDXVLfo6+35A+1OljjdvwPdtLDmMDQWRioexbPWpUIu/ Wd15PDSbQasPi0iRFlhi2nraydAWDkU4TBLyAyn/AI6SEd9OXa23ZU7HxdxY/FJ1w1LJ ySwPSHfUIzKRlnneUrovXDseytH8m/Yw+czlfdNlDEp7KhXBqiJZBR439W7iDXHBae7z OCr3YS7zpZ7yApt1vchPMdBcZMKAcMrh0nm6jTCv8QzSdg2UchJM28ItoV+gbZBNCWvv Db3vYnLVVRu3S3ScMd6u29J/KgVAKAY4mJc98wQAVCvBr+hcz0LFrJwecU1cIwknrDkU NoEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=955QuPnXI9N50bcwAQh24QdY/S9f5qVwMSY71mHm2tM=; b=CtGUiYDOj9HabAei+Hn5kiF16jDZdcTlGXOPnUo+Qt8YbQnlfXXJGAbDXSwvYCsop2 wHHxnD3Jf96u6EESQhk1aIfGifOGJwVVLphGaCUUX/2SDxJ5AwJ6ynlJKuq9xcLIXQrc 4yQ1MW9DKU7zco+CUOqufjzNnpQTuM8t3OokVRB6ZB2mpACrId5krRz6XDz2fsMVs1Gu ZKH+X5ZYjXHUjYjk+cv9j2k9eU3Mjt2pl5cG3q05u7KRM+dUG42t6UB2CSv7pn3TGeQk 8TSHFFoCdaBKWuAxkphIA6seGtVwL2RljBq3zZGP1JJyocHbc1Y0+Mo2NGwClKZ8aALg yVVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id k184si5938179pgd.57.2019.02.25.03.23.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Feb 2019 03:23:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10C49894DC; Mon, 25 Feb 2019 11:23:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4466B894E3 for ; Mon, 25 Feb 2019 11:23:31 +0000 (UTC) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1PBNHiJ071788; Mon, 25 Feb 2019 05:23:17 -0600 Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1PBNHY8121475 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 25 Feb 2019 05:23:17 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 25 Feb 2019 05:23:15 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 25 Feb 2019 05:23:15 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1PBND7N010192; Mon, 25 Feb 2019 05:23:13 -0600 From: Jyri Sarha To: Subject: [PATCH 0/4] drm/bridge: sii902x: HDMI-audio support and some fixes Date: Mon, 25 Feb 2019 13:23:08 +0200 Message-ID: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551093797; bh=//YMlogVbihxb2xbkwYvKO47+4d01hZVQvTbA6IsH5U=; h=From:To:CC:Subject:Date; b=Q3ehUGS1rL1dDax27ua9cm8w5/UBVPvHWFRSOh+Q2cpUo/im8vpGyuX1pOwDHNJ2e Cjuhj6LVF56JbQbK9DrCzMmR456lHx/jgoAjJUIjyfEArHcfq6KBNmnmRl9smmmB0S LLgXESWpYmJ62ShWohn5nK0ELnNw8wN+sWQ78bLo= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fabrizio.castro@bp.renesas.com, boris.brezillon@free-electrons.com, Songjun.Wu@atmel.com, peter.ujfalusi@ti.com, tomi.valkeinen@ti.com, laurent.pinchart@ideasonboard.com, voice.shen@atmel.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" - The bus_flags patch is important for DRM masters that rely on those, but the chage is in no way dependend on HDMI-audio support. - The output mode patch is needed for HDMI-audio to work. - The HDMI-audio implementation supports only i2s-mode. - I do not know if the pixel clock unit change has any effect on the actual functionality. Jyri Sarha (3): drm/bridge: sii902x: Set output mode to HDMI or DVI according to EDID drm/bridge: sii902x: Implement HDMI audio support drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz Tomi Valkeinen (1): drm/bridge: sii902x: add input_bus_flags .../bindings/display/bridge/sii902x.txt | 24 + drivers/gpu/drm/bridge/sii902x.c | 475 +++++++++++++++++- include/dt-bindings/sound/sii902x-audio.h | 11 + 3 files changed, 503 insertions(+), 7 deletions(-) create mode 100644 include/dt-bindings/sound/sii902x-audio.h