From patchwork Tue Apr 2 07:29:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 161618 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1410667jan; Tue, 2 Apr 2019 00:29:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxMILy4TRcy1YBtDuIKPiarQbk2UuDVjjGzuUpzsQ5+2JLTu6PI/X+Ku/J7mhSMmRy//Nx X-Received: by 2002:a63:720c:: with SMTP id n12mr21583190pgc.348.1554190185226; Tue, 02 Apr 2019 00:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554190185; cv=none; d=google.com; s=arc-20160816; b=uUDxfPX0+FMC7GsO/0EL/8wwVntWT21cjHcCBXZBo7lAmBg+uL3HPwNm06WTr5dTBO 8NRVDFWPuuBvVzywAt75/6rfi/vK7HswFc33jxeT0kNmfvRTcoWiGKQaiMX45Ik2vWjx nqI1Qc3kZFarE8BFSW23MD8EVjMpNqjRQe6BcsIVP0Ii73w0TDUdHdcj4KBl/cJ00fZb hvhsXXIhRYkGvv4yEQ7QRkK5VwIbZYaO/89DNTF6dWBicYA/D9wPe5rjR/wVTunibbpD 9Fpv77vnRaT45FnsgcqEPbJXhud0cwQce6wGS/wGZci6EP/GxrZSLeIrZcOQpnhJdimO 6eqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8lAyTP2FaI+yQ7DiOCK6p+kRnfn3lYWlIlhioXRUk0Q=; b=l9Yw8GoL54r8QJy74pjzLBj+UWaRV6c+DMDNcI2X/NDfTRq0HZ+IoCOhZxhejhMhFJ tQa7BCe0t3J42CrdWlZJaJJlVAUycpPd1x20rilcTGBYfdUIt85tPkzsBKxopx9/weaC 8eGsOssTCEyurZq1YHkbLc6X9yB76mx0EXRZfwyITPoJFpVuYuwZ4Ee0if/m/yPYi9sF BzFTPDrkwkKion1FA/UMbSy7IT23YDvYe63DS0Fg+kR/JS13BXkWLMUdIfTEe4HggzIj xqmM1mEcybev/hHLNO6ZsDsftUYsybJrxYQb+Ekxhxq9pLHGx1LNv+Uu1KvIvLz/N6V3 4l3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jqFS83IH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16si10475098pff.85.2019.04.02.00.29.45; Tue, 02 Apr 2019 00:29:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jqFS83IH; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729364AbfDBH3o (ORCPT + 7 others); Tue, 2 Apr 2019 03:29:44 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54160 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729142AbfDBH3o (ORCPT ); Tue, 2 Apr 2019 03:29:44 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x327TMAO079026; Tue, 2 Apr 2019 02:29:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554190162; bh=8lAyTP2FaI+yQ7DiOCK6p+kRnfn3lYWlIlhioXRUk0Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jqFS83IHURZ5k5k0ubmdXBAQAFODbk1MdNkw0zHkBGJeY2cR2xufkCZF8hxUgPviC BP+XhoDpqcT3Q6TLSP/6PBwlksNjXEFFut2Uyp7x7IwWKlI5xVXSm/VtKM02hiMZn5 B/HqfIw43vIsG1fIxb4uVm+FlquGLRztBDXZyXYw= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x327TMDC072124 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Apr 2019 02:29:22 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 2 Apr 2019 02:29:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Apr 2019 02:29:21 -0500 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x327TFXK130596; Tue, 2 Apr 2019 02:29:19 -0500 From: Jyri Sarha To: , , CC: , , , , , , , , Subject: [PATCH v6 1/6] drm/bridge: sii902x: add input_bus_flags Date: Tue, 2 Apr 2019 10:29:10 +0300 Message-ID: <04c0665a905df954544a640536f890a14e222fa6.1554146714.git.jsarha@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Tomi Valkeinen The driver always sets InputBusFmt:EDGE to 0 (falling edge). Add drm_bridge_timings's input_bus_flags to reflect that the bridge samples on falling edges. Signed-off-by: Tomi Valkeinen Signed-off-by: Jyri Sarha Reviewed-by: Andrzej Hajda Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/sii902x.c | 7 +++++++ 1 file changed, 7 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index bfa902013aa4..1afa000141d5 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -459,6 +459,12 @@ static int sii902x_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) return 0; } +static const struct drm_bridge_timings default_sii902x_timings = { + .input_bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE + | DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE + | DRM_BUS_FLAG_DE_HIGH, +}; + static int sii902x_probe(struct i2c_client *client, const struct i2c_device_id *id) { @@ -529,6 +535,7 @@ static int sii902x_probe(struct i2c_client *client, sii902x->bridge.funcs = &sii902x_bridge_funcs; sii902x->bridge.of_node = dev->of_node; + sii902x->bridge.timings = &default_sii902x_timings; drm_bridge_add(&sii902x->bridge); i2c_set_clientdata(client, sii902x); From patchwork Tue Apr 2 07:29:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 161619 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1410705jan; Tue, 2 Apr 2019 00:29:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQmTfB7y5OhKFV8myE9t6Nm0C9HVtlbklOi7AHjPLbEDTGGbIpjSJN4Gt9s2I34ROCWsnw X-Received: by 2002:a65:60c1:: with SMTP id r1mr571410pgv.137.1554190187479; Tue, 02 Apr 2019 00:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554190187; cv=none; d=google.com; s=arc-20160816; b=mDjEJCvpK04WvelLhCS6I12Dp2QU/6PMt2mFbfUQzMD7hJkwdvBOio3GQ4jBipCYxD 6IIV1rPyLugw0g+fk/Vl+sEHjC+GH6GhFNjNO0cmUikIKaVa3RinVUJEKvKEQnP8B1dn 6qDnYQxFDUzcGn1Fz5mL/PjjJ9RbDOSwGUW/jGAF3d/Cqy7mkxh6EwNm/CBHbv9vPVSI r0YL1L44nR4G89LzeIs0gqoLqXQpZ5UikwRUCzp4gTEFyqrozPTjYWoiBwDLdJlxL7ad Y6b9GG1g910Xu3d8a83156WkX/knTttODrYGFcH/4mVjb9MhP1RRC1lZEZsIqcJz37Nn k35Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5kqhzE3IcUtd1zhmOu0aWvtk9OmxjF6LW8lgnJDouOo=; b=Ya31cTAaV4L17KSaruCWTqs5DUM+gioZkZ0DLP94NXPEdnI5avMKWUz9LlPnWbKnER ZLMIPCFTLV596b54Lex3V0fgXc+XJfgVLN8QitqHIke185y9pW3ThyQ841XZaThGAgc6 4Ah70RlYr5JX1tvrPtWyBrGcVr9/kGKccD0vM41lwxq6t7iW/8M0JmCyD/3NucsdiMuJ fO5Pz5URNz9aE3tEXUl8mvveFuIO+LchNJ2yFO35OwKG/cz0YRsNAblfVO9wbCXIDteL tqoc+Vx5d05d469UwsQ04UPyMLXRgSenFHstuzXfUX2VI/vn+gGgdi/J9z6whKb+WLiP issw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=APdklRVq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16si10475098pff.85.2019.04.02.00.29.47; Tue, 02 Apr 2019 00:29:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=APdklRVq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729410AbfDBH3q (ORCPT + 7 others); Tue, 2 Apr 2019 03:29:46 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:55716 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729347AbfDBH3q (ORCPT ); Tue, 2 Apr 2019 03:29:46 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x327TUa5084511; Tue, 2 Apr 2019 02:29:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554190170; bh=5kqhzE3IcUtd1zhmOu0aWvtk9OmxjF6LW8lgnJDouOo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=APdklRVq3y4BJ0pV6fi0O9NeE3Kf9RbgvNNsd7RrrPJGLNweICi2E1I16T26YAnoO boo+eadfxA/BpZ0xvxegz0f8vgfaaqxoNFAmuV9tlBmUasvIqyBrtRQXlVncC8aUIK eMn5kq2A7s5s7hTvJAorRC7yvBZKaqVHKQvDEvqw= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x327TUoA118331 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Apr 2019 02:29:30 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 2 Apr 2019 02:29:29 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Apr 2019 02:29:29 -0500 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x327TFXN130596; Tue, 2 Apr 2019 02:29:27 -0500 From: Jyri Sarha To: , , CC: , , , , , , , , Subject: [PATCH v6 4/6] dt-bindings: display: sii902x: Remove trailing white space Date: Tue, 2 Apr 2019 10:29:13 +0300 Message-ID: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Remove trailing white space from sii902x display bridge binding. Signed-off-by: Jyri Sarha Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/sii902x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/Documentation/devicetree/bindings/display/bridge/sii902x.txt b/Documentation/devicetree/bindings/display/bridge/sii902x.txt index 72d2dc6c3e6b..c4c1855ca654 100644 --- a/Documentation/devicetree/bindings/display/bridge/sii902x.txt +++ b/Documentation/devicetree/bindings/display/bridge/sii902x.txt @@ -5,7 +5,7 @@ Required properties: - reg: i2c address of the bridge Optional properties: - - interrupts: describe the interrupt line used to inform the host + - interrupts: describe the interrupt line used to inform the host about hotplug events. - reset-gpios: OF device-tree gpio specification for RST_N pin. From patchwork Tue Apr 2 07:29:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 161620 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1410726jan; Tue, 2 Apr 2019 00:29:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKJlPK97rrMrxHsJHf3B4Y1ZBS9BkxGCqFobmCj89INIWg2MlMRGjztNOOMMlYKHC9Sfu1 X-Received: by 2002:a17:902:7084:: with SMTP id z4mr68908960plk.305.1554190189341; Tue, 02 Apr 2019 00:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554190189; cv=none; d=google.com; s=arc-20160816; b=mEJ/QCdz2jyJXKx6YeH602TPHQfkNdKPwBHLPdU5WOgweGUxnYy0yAhuPYhTGDgdgl NQHAW0DkApPmjm2UXE6XT6OBv0+Juq2aP/p9og8uLjSH4TdSn+Uyf56j8pjCWBzWuIXM pK2/sbFHFanNF+nnYuX3ac8p68VT8Uan7Vymk345FbquMVI6Flmnu9K87jJcs6SGL0Ju KP5Fox/yogQBLiCgUJPW2kYXKM5Tot7QCljH9oymVsEoXu6csBe7UeIBfD+ZMb4+nnd2 Vl4Xg+3pe1Xztz1+hG7Q3eO2yub2GIHbEy0d5CEhZ1pn9bZxMUD0FfcGxUMXD+bYmDVT E2RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=V6IHOIhjgE8F6cKub4i+nBS5HIumw+WREB+OjRlDdsY=; b=SQi38d1wayK2thQBL9fDsrAug5y8+BvdKUrwi8DTO9eX3DFCvlW9yyGAhOc9vlecE+ iKqDqWraObh2CHh26T2LkkTWrnPIvs1JAT/TJREwgySth2D7fZDXeKDZThcBFRS/+lj9 3lC3vmpH9ePX3QqSqjK0cQQwlwyGEhvsHSa1PQa9YKjDaDD+LoQxgmFsvLghpcC4JlCs K1IaS1s6B+cXgFXRUir8JEmYd+ks+LFHyX9NpVa08mTwO0sl0AatMmryxfAKmmrJp0to ETrHFOnRrNiGlM+t1FRtTb8eVL9hnHXJnfIoGEQPRMMzrueWerT1nstnKWQ3ApemyWaA wXlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DrIn6uVs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p16si10475098pff.85.2019.04.02.00.29.49; Tue, 02 Apr 2019 00:29:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DrIn6uVs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729414AbfDBH3s (ORCPT + 7 others); Tue, 2 Apr 2019 03:29:48 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:55718 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729347AbfDBH3s (ORCPT ); Tue, 2 Apr 2019 03:29:48 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x327TXUE084528; Tue, 2 Apr 2019 02:29:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554190173; bh=V6IHOIhjgE8F6cKub4i+nBS5HIumw+WREB+OjRlDdsY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DrIn6uVsnSVKniZ8dRvykCVcsnRWGE5mSaZV2cxvjbsTIKrP5si75ej+1tqAzA6/R zvGZ/HtIkvQJlPwnbZ9PvpC7aXYLGGdJ81mj2CQv+NPfP+NH7UppWNeusoNpfa4Z1V QSWTCIV43/wW9y4utgjIy+FqsErc+bw0Q7MNSjIo= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x327TXEq124854 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Apr 2019 02:29:33 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 2 Apr 2019 02:29:32 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Apr 2019 02:29:32 -0500 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x327TFXO130596; Tue, 2 Apr 2019 02:29:30 -0500 From: Jyri Sarha To: , , CC: , , , , , , , , Subject: [PATCH v6 5/6] dt-bindings: display: sii902x: Add HDMI audio bindings Date: Tue, 2 Apr 2019 10:29:14 +0300 Message-ID: <4a0573f42112a1070c2d48ecc4a4e89838842cfc.1554146714.git.jsarha@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The sii902x chip family supports also HDMI audio. Add binding for describing the necessary i2s and mclk wiring for it. Signed-off-by: Jyri Sarha --- .../bindings/display/bridge/sii902x.txt | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/Documentation/devicetree/bindings/display/bridge/sii902x.txt b/Documentation/devicetree/bindings/display/bridge/sii902x.txt index c4c1855ca654..d124a5fedab1 100644 --- a/Documentation/devicetree/bindings/display/bridge/sii902x.txt +++ b/Documentation/devicetree/bindings/display/bridge/sii902x.txt @@ -9,6 +9,37 @@ Optional properties: about hotplug events. - reset-gpios: OF device-tree gpio specification for RST_N pin. + HDMI audio properties: + - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin + is wired, <1> if the both are wired. HDMI audio is + configured only if this property is found. + - sil,i2s-data-lanes: Array of up to 4 integers with values of 0-3 + Each integer indicates which i2s pin is connected to which + audio fifo. The first integer selects i2s audio pin for the + first audio fifo#0 (HDMI channels 1&2), second for fifo#1 + (HDMI channels 3&4), and so on. There is 4 fifos and 4 i2s + pins (SD0 - SD3). Any i2s pin can be connected to any fifo, + but there can be no gaps. E.g. an i2s pin must be mapped to + fifo#0 and fifo#1 before mapping a channel to fifo#2. Default + value is <0>, describing SD0 pin beiging routed to hdmi audio + fifo #0. + - clocks: phandle and clock specifier for each clock listed in + the clock-names property + - clock-names: "mclk" + Describes SII902x MCLK input. MCLK is used to produce + HDMI audio CTS values. This property is required if + "#sound-dai-cells"-property is present. This property follows + Documentation/devicetree/bindings/clock/clock-bindings.txt + consumer binding. + + If HDMI audio is configured the sii902x device becomes an ASoC + codec component, that can be used in configuring full audio + devices with ASoC simple-card or audio-graph-card. See their + binding documents on how to describe how the sii902x device is + connected to the rest of the audio system: + Documentation/devicetree/bindings/sound/simple-card.txt + Documentation/devicetree/bindings/sound/audio-graph-card.txt + Optional subnodes: - video input: this subnode can contain a video input port node to connect the bridge to a display controller output (See this @@ -21,6 +52,12 @@ Example: compatible = "sil,sii9022"; reg = <0x39>; reset-gpios = <&pioA 1 0>; + + #sound-dai-cells = <0>; + i2s-data-lanes = < 0 1 2 >; + clocks = <&mclk>; + clock-names = "mclk"; + ports { #address-cells = <1>; #size-cells = <0>;