Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758893AbcJQIfg (ORCPT ); Mon, 17 Oct 2016 04:35:36 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:32519 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757877AbcJQIfW (ORCPT ); Mon, 17 Oct 2016 04:35:22 -0400 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="222518379" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87d1iz4c1f.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 11/23] Documentation: of: add type property User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Rob Herring , Mark Brown CC: Linux-ALSA , Liam Girdwood , Simon , Laurent , Guennadi , "Grant Likely" , Frank Rowand , Linux-DT , Linux-Kernel In-Reply-To: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> References: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Mon, 17 Oct 2016 08:35:16 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR0101CA0042.jpnprd01.prod.outlook.com (10.167.173.180) To PS1PR0601MB1452.apcprd06.prod.outlook.com (10.165.210.156) X-MS-Office365-Filtering-Correlation-Id: 6dd4bfeb-cae5-4c0a-1e6f-08d3f668863c X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1452;2:FC/gh5ruXx7imcimH7YRnBHVBhSE1MTK7x+gcmJGR4dKHbcYtcUNzKue9QPlt+ptHsVoFNhO8kOFmDME7VY4xP/HVYxnPCX2go17xZ26QMz+vmnmUp2/BbzirrLznt2tiIsoMAFeXDJAGPhcCqmNdJ29smuYjvy4zjX31fWuPUBmWbtiPdE7eBC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o03y0dDdYrjTLZtpuxPsh+Uvc07c8W0Q9s2p+8Ll/kclCgngdXX44eR4UElPJF2byH3gWCd3nQkxgs+m96nIQ/buQKvLlPNonXGZbCNLR+K05OkpqD9ExCnmrUwLrYceYlHh3lii6ppbVccE/P4mI+Qc5ZLpPK88Q+tLM4UfHs+LpdQ+mMsqBYk84+lCkUuZs4Tc5sRhBXI3jZ28G+7H/xm88xu9BjTMryzZoExB5+bxIFM7sjxssELQ4ICcOu9+ak8f+BQmGoUWgOK2zTIrTnmVGLhW+cd8P0GsxkZyjDWbtocse7Fo28cv5BOnGQivsOD1rUuzxa3CxjMyWqK3S5ISGolZtYJu8dnAImZm5ncsLpseTQEtz+OBJRK5h7WNXkKWAkoVohqNH5QSvH8qZZK9Lar16rt4XMs99v2P7wq8OJxHk8HG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:PS1PR0601MB1452;BCL:0;PCL:0;RULEID:;SRVR:PS1PR0601MB1452; X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1452;4:R2lsllOZ4Q9p4kTrTOeRnWmeNOS3A/Ra+MtmwwLh6pACBmf7xJz1jvcCjBvd95tMEtpFk3CUF/GAxJAsnHpFCWUoyXHB8eSpJGH72ZFqbObUA1rfVRDlSfRlJun+R4NBYYXS9nWE39DAigC/hhEEZ/giqqbkpkxiDLuXf6Np1foaRpOopile+S0oWw/K38qASDxBNdY5fzt3RjeBvp8z+Qa255Oq87z+gVeOV/P79lvyTce7PRrqdhwAjHa9WFHPofVeP4JgtyXzOGZZIo9anJfeVb2mPKWVdZVGGrjjmoBGBE524vH2C9qjOb2FSO0bvtbGe4aPBXXAdgNPEUBLZR8/pnrgVDOaWD5gybZ/HQrCgsOla0y40rzx+HUDuAelIrrLIz71C6qCXrtnU0ucgAelgo4lBJVQdyQmOORu7is= X-Forefront-PRVS: 0098BA6C6C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(69596002)(97736004)(92566002)(23726003)(36756003)(19580405001)(19580395003)(42186005)(50466002)(3846002)(47776003)(81166006)(6116002)(105586002)(5001770100001)(81156014)(46406003)(106356001)(4001350100001)(2950100002)(586003)(8676002)(66066001)(68736007)(5660300001)(86362001)(7736002)(305945005)(77096005)(53416004)(8666005)(229853001)(7846002)(4326007)(189998001)(33646002)(2906002)(50986999)(101416001)(54356999)(7416002)(83506001)(76176999)(7059030)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:PS1PR0601MB1452;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;PS1PR0601MB1452;23:qYjzknKfHpu/B/8iz5RHjmCF9UDXljP+/9ns3pO?= =?us-ascii?Q?uy9aPWAd15kY12gtul3jh3G9WUxyI34Pfqu1MixA/UvI8pRRu9ZJP4NlcurU?= =?us-ascii?Q?cP6awtezSMXyS3yww+QBfZUadhn5uLO6fnSG4U0cX/yNduwR7Fy6YuV7x//2?= =?us-ascii?Q?r3JpA8XAnw0i1G4u55ZpVZB56Gw4K8cvkJzr81vFBypwxhNyAH/dH+4Mm0Q+?= =?us-ascii?Q?LtOmotof8vGcKcGtPpH6KvwY4Rplq7pT9s3cQ5gskELVUfATYNtm+5vXFX10?= =?us-ascii?Q?X1cK2LnStpg237zHtKB6tACDUtJKu4M1I7sLLkbP7/bd44nQqwJekHb4C1qV?= =?us-ascii?Q?ZtU0oStfvxQjN1TriwFUIhf7JqLuRYrdyjRuwCwQJVMb93dJGkuHGEH5fVuQ?= =?us-ascii?Q?Aumug4IExnAQlHOP+1k6OZV9WTXHsuTI/uz76kdF45/hNtmYzkkoD13Fa4dG?= =?us-ascii?Q?ouYQEu/oWGSjXukXVGQ8LCHnRMKDFtjfieVRHyQ2broHe3bTxxDucC77NGkM?= =?us-ascii?Q?dYR7pSgyRmUGv3Y1m5fDx55DhreCNzRBnSV0yFBXuz9tGU80QkNOYOM/6GeE?= =?us-ascii?Q?dgjxTQG+zW4Y95Uqab5e8hefmfOOQ01Z35TlzuyKfPi5U49zVyqyeooZyRzs?= =?us-ascii?Q?MJvLiu+ZLNHOgm7pR59ZzVDR4YIAkCc+3H9QXWCihGeXx4Xob7cRIrVSIdbV?= =?us-ascii?Q?33pH7O3RnBb/Di1I6q6CklOlBQ8bAMfBVAbwArxLF9cAPEkNFpn6V7wln6lB?= =?us-ascii?Q?+0tVMjF4FD+a8sLXJwZlBjc5u/ulty4n749G9mqzj9HDU5DTOosnUvdT820D?= =?us-ascii?Q?Po2cqcpEniq7aRcoObIV2KvrKc8zGy9eTlIkqPETaYLi/W11lDvrE4r1hVzH?= =?us-ascii?Q?L4m2HJya+Io9tEg+aneoj1JqZEio75ac1Ridvxxa0ac0AOI5FOus+NlL2LPD?= =?us-ascii?Q?USfGjkq7NLowbl3wtIMI8W3IO9j2YXg9YfSbbgaAd9o9guen1q5CKl5IVNqj?= =?us-ascii?Q?+z6AgHiejjWA1Z1OB4Wve3WTEDP47ekOLBMO+gJ/4+RL4sfCDkE/CpPXRgtc?= =?us-ascii?Q?pMMOwkodMqZBgZNkwA7dySqRHmBbYU6WkbYUO7CIWiXDKre7KVqUuwx0++P2?= =?us-ascii?Q?VHn3fYraikkGHyIamLfia0WoD/KueNO0BPTvAe3hmuwQPJKvaV+WDvYwySFJ?= =?us-ascii?Q?3AFPi4jgBuxnoZ3f107/CzgNc/mZh9aovrUKsIDz1QE/iOTT6XzhXrPHuWmW?= =?us-ascii?Q?DjB6KvNnqBGiApWVNjC8=3D?= X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1452;6:lzivErgsboHbylGyzr2xrZFS5/B5ZJYo5kmTouaI8vLd/n3GXZo46xCojwkcZNajHRAqUj+VYD0Z88KrmJ8vZZnTnQGM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niTp+slCMQMT8pezliSijETpkV3GnAP6VCfQkVWMYSudrK/ObjZ99GnwPk1mENvxgQo04SYZCZi0g380cS7sXqjcYfIFIocb2DQG8RDI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 08:35:16.9922 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1452 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1215 Lines: 48 From: Kuninori Morimoto OF graph indicates each devices connection. But it doesn't support type of each port. For example HDMI case, it has video port and sound port in one device node. In this case, current driver can't handle each port correctly. This patch enables to use type property on OF graph. Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/graph.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/graph.txt b/Documentation/devicetree/bindings/graph.txt index fcb1c6a..fe6c8ce 100644 --- a/Documentation/devicetree/bindings/graph.txt +++ b/Documentation/devicetree/bindings/graph.txt @@ -110,6 +110,27 @@ device-2 { }; }; +port / endpoint type +-------------------- + +Each port can have its type if needed. +For example HDMI case, it has video port and sound port. +Below example indicates that port@0 is HDMI-video port, +and port@1 is HDMI-sound port. + +HDMI { + port@0 { + type = "video"; + endpoint { + }; + }; + port@1 { + type = "sound"; + endpoint { + }; + }; +}; + Required properties ------------------- -- 1.9.1