Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758232AbcJQIbK (ORCPT ); Mon, 17 Oct 2016 04:31:10 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:63346 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757075AbcJQIa4 (ORCPT ); Mon, 17 Oct 2016 04:30:56 -0400 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'208";a="223078291" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87shrv4c8x.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Rob Herring , Mark Brown Subject: [PATCH 0/23] ASoC: add OF graph base simple-card User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 CC: Linux-ALSA , Liam Girdwood , Simon , Laurent , Guennadi , Grant Likely , Frank Rowand , Linux-DT , Linux-Kernel 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:30:49 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0028.jpnprd01.prod.outlook.com (10.165.48.138) To PS1PR0601MB1450.apcprd06.prod.outlook.com (10.165.210.154) X-MS-Office365-Filtering-Correlation-Id: 4311dc85-f121-4aee-417e-08d3f667e6b8 X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;2:/YmMy09tICTdalYPXR85qHfXVGEdaLLGQUnBP/lqbuJIFcQRb4t3sXTm0iDRNeI5I9Xr9rtFla3rTlvvmipfkw+RiFjo1JG2itzoY5WCLG2glbzkz+nql/FQrXx0ChWO9E2QibknsjULBFDcETDaUBApHBXtJj8IPC0JGACkZYkBzyiUkjqL+sACHde+PAoazrfZdkl2vuUcBYkydeWxXw==;3:yt9f2+r1y8Nmt9FgGHOaf6q/FScpAaR5XX0N2Fh9XbQOKLPSTaCLXbNeS0Ya8R8pmIWpcTs4VovEiI/QDkfDOTpAxRxhDLDiBp+xJcIHbID1Or3dko3hZ9WNKBwAJ5aV8rjvbbPBM41BDAYI/U9wxA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR0601MB1450; X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;25:kiY0WjFCFkbaprXJoWb884HudAIjHW5jz8wIGFR51+XU/3BZx+RyYiGDSKpNoZJ6FJwavkcbJfG6Gye+jot8lBYcq8GKOja8XHl1qysTG/Ektl43GfGYAINs+2EPoVdRew+UPgjZvinYFzyaea4ke+Cqlo6Rn8PGShZDvZgGWbAurKh29Q0mNFATJHCNCCNPIGLqILthyWEe0YRC/lQ2QEpWUFsq7dgryAPMQ+Z6kPePkA5PH54gU7R4BM6TBLS1n5lq9LzdskwpkEcbDCUHWLoVvgswJR14uwghwj8dznzKqDoqGTlH5hP7Ff55EJ3Nsb546oB+OGzObfYOxvUXN31VkH27LlaZ7oETYTpvXnUH9YFKVKULkcov+JU8w7d8dKex11E/N0SxLSwllBvAq9o5U0UiZaDNP/pBc3H6u1mdXf6LeNQNvVpKFy05j7Pb2zgWBbzcK54iJkA92HOg8Y3GhE6/VmLX1r6AC5B6KZpmQIqDRJrzXP74+zS+7vAyztLLswSIzsavrPLfixnL2jevn3oCZ1fzgJZu8adFGUE+6GSWmQiiXZT20DLmZrMJIlR2YIXRjyS40nuIkcmvf4hfpMOuumX9vF+NmkpINODtpM7ArpRp1WQcFIiyhPiU+AqFa26nALA5AKUYoJBIa30Cq8qioOjlx5S4xqsNHbXJy0MymhqPWIvbUa4xnQPw2x4J7vEE0PLFKBePmdpwNA== X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;31:iHWompURMSbm76M0GXiZ8owJxh9T/BwxovZz3XyWeLd+dmDBeahMJOvJ4EcgRKEgDZUH9LbrroFXRabd2N/CQJ17UY1MHobhDC7v67Sk9gRRcxAKD+HfANPw05XxAPJy66fY8/89gAYA++FkYPzz03TBnPseImVPYN9+mZM8qmYgfWIctqcWg1KO4H7akPWzVv4hUsINM3kTRyLX/7NvoHEqpxQClOVDOcOLT++2xM4lbZYurHQhTLSVAwZiSVwa;20:BgJ3Vfbig9KWuVC2Y6D9Z1bnNH0+E675X57TnfKLzyWs16tbnmhwuRiVqjWucmS/+vpdqUNEIQ9/Vshoog83dTbz0gT9S1fFU7HVNvC12A6nK3T/8KxVr8Sk24v6JaGxbZcrnh0OniOMn1PNPNMqOzAL9Q4O4C9N4lXfzGzWDdTii/Keo7dP0lY1nkfbsFu9uRoXC4ZGIzoDBAJBNZXXeQvoBPACVAxIgmzBsnguBaNXcQjSldgT9RCvy+IVjkuILrd/j/wJPV+DjQ9+e0oCToUEfWdi7P9BG6KEaKihNLaza60rBV+12C3kHjLQfXbUl1Q3erotZeLw/+WEldC/4+jAw3yzVdB/pQnXFxI5VwPW8bcnf4MNyGOUKoECZ7HtF+agEAB0GsLNSj+uNA8DQJ3pl9VNiNTImf0owValXoqjDw1nnsX0zoYDKUuswaSX9CsUsHbVMzvVBI2DUJUBuzxwnVIb3UbSo/n190ujY6fMHQmACTV10ksl3pHV1WM4 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)(10201501046)(3002001)(6055026);SRVR:PS1PR0601MB1450;BCL:0;PCL:0;RULEID:;SRVR:PS1PR0601MB1450; X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;4:uXb5gRFZWIH1Y3OKtuAcPlnhEhaso/nAWKrsQnn59Mv93JAfOKrk2q1s+Xz7ssY2t+ulxSVlYqxz/spFVxIKr0rw8lWNcGJopUV6fJPlf0iOg17ZQOoPSWZd6cFi9wJ5WtXr1eQyyO+Ro0dyLOrA4aWmcxu33xtSHHp0Y5AN17Tv7wsLgOhQLmzBfggpgFxHrkKoN+4mtTrqP8XBKi48RLuu92T2VGrwo+IVb+uucocCqqZ0UsRSCmaZPAwZOPjlNn1Yg810pYMz98S+7BhYnfywGZv+Kh1iu3ZY14u55oQrempCQXuyvEpat7d70+SODf1cugJP4xEa52/69p14K4BGUazyn8789hUpuSSpwkGkmuNynwdFK5yf3+pYZXvqcK7AkXDf019yMhGI8AASLF+5oq+KRSl/qpo5iVbkXbk= X-Forefront-PRVS: 0098BA6C6C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(33646002)(86362001)(47776003)(7416002)(189998001)(105586002)(69596002)(6116002)(3846002)(229853001)(50466002)(106356001)(92566002)(8666005)(66066001)(83506001)(4001350100001)(7736002)(2906002)(4326007)(97736004)(7846002)(5001770100001)(36756003)(101416001)(19580395003)(68736007)(50986999)(77096005)(8676002)(23726003)(81156014)(53416004)(81166006)(42186005)(54356999)(305945005)(586003)(46406003)(5660300001)(7059030)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:PS1PR0601MB1450;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;PS1PR0601MB1450;23:8uJlKlDonW6Ix2Ziz3GDYmW0UJUCWUAC81ur5j9?= =?us-ascii?Q?RGMVO6ymEa1Ox4e79Zt9wX3xylgJXRU1U8ikpUjT1tpOru80IxqbqVXA77mB?= =?us-ascii?Q?Eq/A8trLirg4vsiMC6w5JxMPCUcDh3dIzgJltcv1BW/U9InEZHC7uyfQskkF?= =?us-ascii?Q?+rcWCpa2tS6SzY2XWZi2Sd3yNQDF6mAJpd2PLo8sbmkXaNwH0uZn0pzBVxrI?= =?us-ascii?Q?XmWJTfSsCUskOV2Zk5IRImBcm2Xo+YUR7SVAWl+vCvfC8Yczith7i2A9nmBK?= =?us-ascii?Q?BhnUR05rT63oft1KALqepGsDlIoS9Flaj3NWxbm2wJk7+hDwsEt7m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= X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;6:YoCKLF6LDF2LT2ZRRQn/i08xhAcqprcOWJAgstuFptPHzZpozz4jwUY1QrOzdLBRptsWUIrtzJAfULABr5VPTarVIn51v5rY+64TCIvrTOUG6r5470ynDtje8LFM/R/p5foLkgz7ufrMoYn4uLpMp1SgjPd6n0UG/QJMkZnL/RnLex5bkMI8jO291itOJpr62uHQMN47CruAEGJalsK35gHcM2vEJ0GjjiQYJlUdDqVxa6wBQ7HNsRQnuo9gW8xE3K47WZJgPNYJCJZVqsgufBJW8eV5yNCNk1R2sHdMa+x+pB3T08BfRIyBUBfJZJs1mntj9Bllos4X2E4GfUhpSw==;5:tqmrRDk94sk28VN7vmV6o5RuZIRwOPidSuPjcf+odqTGnFevRFfYbhbrLTZj2oV1WMKCOQvYfzaV0gm2MK3R3WYOInshXOb0wVEMGI7AAttwan/WuXd6Kr9yNHCBdC3a0uWsFMkiptURpJoSaD3thiaJRIJbAt19LXlxa5dcz3Y=;24:ufdgLdZ4mhNLgUimkfrIHKDpMi5TmVe0PxcwH3QNyqkgef0lKd26LX5n4E5G89ONtewmARW89wR+9h888wmWk9kSlENMMdvPMm/hxvI5DBU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;PS1PR0601MB1450;7:IR8Ex06sSmJiECIm+26ugLMQejIBsmeU4oYLj5s6jDF6WACvjlqo67adDCXXr7C6PxsxCpjrd0tNlck+hHlO/Gs3/x23KarUlAmW2Z8tYzNPnfrq8O0nvuffdrja4e3Zks+GApRWqzhVvBNKJ5nv8OlM1mh4Pe8Q2341+ipXset6NX/RQ8cNNJoMRX3mC2fXXNg7Xxv4glRkSL1W62aB60DSEjStEF2pmwOXnP/znMgxYaeUQvj1eJL3hI5K8v8EfhwapDOiiM2OToobRhhfw642BBhpxcOcCpUxotFUv/VffNwSax6I/MjDEgym7v8Tzl7yj5B6j63GTN+eCZudxkjVgPp9PruP9+qyl8hAXX0=;20:sNm3O6WDdatwhnfDIRwVFlMnszQuYBiGu61jClBCJgJhebTH++94vw5WDd4FbalNvsbP2/kk08qGmgq0maa6IW8xdSKP3PvUGmhSnwKYxil968kJAgtNHayaZeT4X/wck3+LTLbmxahV7pwJdtIDsPodEgn9A5ijS7dl0JFzRQY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2016 08:30:49.5585 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1450 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3486 Lines: 56 Hi Rob, Mark These are OF graph base simple-card patch-set. 1) - 3) : simple-scu-card cleanup 4) - 10) : soc-core prepare for OF graph card 11) - 17) : OF graph new feature 18) - 23) : OF graph base simple-card I posted 11) - 17) OF graph new feature patches before, and then Rob requested about usecase. 18) - 23) can be usecase for it. 1) - 10) are independent (= Mark) 11) - 17) are independent (= Rob) 18) - 23) are depends on 1) - 10) and 11) - 17) (= Mark) Kuninori Morimoto (23): 1) ASoC: simple-scu-card: code sync: follow to simple family style 2) ASoC: simple-scu-card: code sync: rename asoc_simple_card_priv 3) ASoC: simple-scu-card: code sync: tidyup props/link naming 4) ASoC: soc-core: adjust for graph on snd_soc_of_parse_card_name 5) ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_simple_widgets 6) ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_routing 7) ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix 8) ASoC: soc-core: snd_soc_get_dai_name() become non static 9) ASoC: simple-card-utils: remove unnecessary cpu/codec pointer check 10) ASoC: simple-card-utils: adjust for graph on asoc_simple_card_parse_card_name 11) Documentation: of: add type property 12) of_graph: add of_graph_get_remote_endpoint() 13) of_graph: add of_graph_port_type_is() 14) of_graph: add of_graph_get_port_parent() 15) of_graph: add of_graph_get_top_port() 16) of_graph: add for_each_of_port() / for_each_of_endpoint_in_port() 17) of_graph: add of_graph_get_endpoint_count() 18) ASoC: simple-card-utils: add asoc_simple_card_parse_graph_dai() 19) ASoC: simple-card-utils: add asoc_simple_card_try_to_probe_graph_card() 20) ASoC: add simple-graph-card document 21) ASoC: add simple-graph-card support 22) ASoC: add simple-graph-scu-card document 23) ASoC: add simple-graph-scu-card support Documentation/devicetree/bindings/graph.txt | 21 +++++ Documentation/devicetree/bindings/sound/simple-graph-card.txt | 65 ++++++++++++++ Documentation/devicetree/bindings/sound/simple-graph-scu-card.txt | 66 ++++++++++++++ drivers/of/base.c | 166 +++++++++++++++++++++++++++++++--- include/linux/of_graph.h | 62 +++++++++++++ include/sound/simple_card_utils.h | 14 +++ include/sound/soc.h | 32 +++++-- sound/soc/generic/Kconfig | 15 ++++ sound/soc/generic/Makefile | 4 + sound/soc/generic/simple-card-utils.c | 105 +++++++++++++++++++++- sound/soc/generic/simple-card.c | 2 +- sound/soc/generic/simple-graph-card.c | 461 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sound/soc/generic/simple-graph-scu-card.c | 437 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sound/soc/generic/simple-scu-card.c | 115 +++++++++++------------- sound/soc/soc-core.c | 41 +++++---- 15 files changed, 1505 insertions(+), 101 deletions(-)