From patchwork Tue Jun 26 09:20:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139916 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006017lji; Tue, 26 Jun 2018 02:22:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWsl4T5pWMwHUqQpzAN0hxHTrkxJI2GkmXNwKN5xEjRJjPYPnIwdyhndsx8kIi5ZaNed+Y X-Received: by 2002:adf:8895:: with SMTP id f21-v6mr760469wrf.250.1530004954877; Tue, 26 Jun 2018 02:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530004954; cv=none; d=google.com; s=arc-20160816; b=ph5aAvyUa6VGfltylRaYAJad6fLyTt+3rY+4FIXOZw51sWAV3XwGYTCH1rzftlscFt M69SAswEdDq9BC2icqGzRFQb5TQU6fNTTs24E1In6aaB8YfQQnnbFbPBgyPv0akpX4Ha orNZ3hlVXTSmqvNjY/NcfL7mRwyswoAAVgMz3gE7V0/jtDfaMO/rGGmauKmIq66vbxIM yaZcvucre+tUuCwA2556Kw5ucxp3sAE18A+jO3eu1ZT7RDNQRpuPCDn3p/6lRTr+IOZY 7sMxjP+Q8y+UW/snCdxMZtzIwioy/e0h3/YDbVO8RFSLfVfNRayxOBAccInYAK1ZUgvO yR3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=zWvZ4j9LtT3bH3Gyu4iphKd2A1KONShvzA2TreSaNRQ=; b=C4p8sc1oibjbYvG5znMYoABvadlAue1CVDXeplzTQSdkVfqkO1hW33GD2gju3AtYaZ Ualtg6XZiNwPTvBzRvJ4YOCZfjCcMX82g+ckQ3wOXOcfwDwNMgV6z8MY04S58+4rNubY nvRU1o55mcEiCDdS1GZxPK4SzY0SkSDNKDhZxR6C10Uw2tbP5Ef/dP4m1SYLtM0VUjFV Q86gipPjdSWvNmFNmyYczaDSrxsnFJMlcvTfHdrKR0vLrIXE8I3EfFUpD/NrAlCgEWMM SYepxoIhdqcW4JadpaOscgyKbif6mre2GcN4rcOdW/FEi1sH/vmDco3hEiRSJnEZne7A L4qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=juEHu1rD; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r5-v6si1199154wrl.320.2018.06.26.02.22.34; Tue, 26 Jun 2018 02:22:34 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=juEHu1rD; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id C9E8726786D; Tue, 26 Jun 2018 11:22:30 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id AEC0C267871; Tue, 26 Jun 2018 11:22:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id 5609A2676B4 for ; Tue, 26 Jun 2018 11:22:25 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id i139-v6so1022199wmf.4 for ; Tue, 26 Jun 2018 02:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j878xcA2GRojyrOxkE9HR8+aKidYc9OUFiOMcCW6g3Q=; b=juEHu1rD6OC3FIhFVS6xJMhpqMoTbOP77J8VKOwW3tl1ivAuD9FoRg2kvq6gXpsfjx UNgIbSBJFctSBah2/AVGl3zGNw1US9B+jcHDoOXPrcHGSEw3rNEQK3ak4lUa2+3FMerv TCdQv093ejZBuF3WWxkounE1zrL/NiZ9dDWAo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j878xcA2GRojyrOxkE9HR8+aKidYc9OUFiOMcCW6g3Q=; b=IRC6F+1rabhFLThbuQbM84viD3Zc/9+QjoNSb9EcqNehUdphBhHnu2Gt8b5ZTVDOPh 1BA/bLebXNbpwPrrpVDH8OGmpqADyGTWRpXjOK2hS0sCmjKQZlDFvhqyu8o8RNskeipB IPJd44aTiiWyXMF7SuV97h4x6koQTGdDvwdo1qaJMkTys6wSzA4yKZZERI2CfWCB+r3W mXtA8HnaUaQz7+JQfdwkYGfQjaYHyy/QgGGUC7nP474XgTR8ufY6jpwin3KmF/6iu4fB d/SXpQyvJPDFyjm0St6fWFDT+MJVeMmzHo7VCJN8VOdMGgLxQIGbNOczu3DjiTJIseyF Ux8g== X-Gm-Message-State: APt69E2ZlkNuX9K0poTnZxCOa/Tqt39gxp9s0YYbtyDfXMIKLAPgbT2e /m64OI1u8vmmDSVPjN4Vw2xGYw== X-Received: by 2002:a1c:7506:: with SMTP id o6-v6mr942371wmc.60.1530004944031; Tue, 26 Jun 2018 02:22:24 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:23 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:05 +0100 Message-Id: <20180626092016.9296-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 01/12] ASoC: q6adm: dt-bindings: add compatible string to routing X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Add compatible string to routing so that it can support DT based module autoloading. Signed-off-by: Srinivas Kandagatla Acked-by: Niklas Cassel --- Documentation/devicetree/bindings/sound/qcom,q6adm.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt index cb709e5dbc44..bbae426cdfb1 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt +++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt @@ -18,6 +18,11 @@ used by the apr service device. = ADM routing "routing" subnode of the ADM node represents adm routing specific configuration +- compatible: + Usage: required + Value type: + Definition: must be "qcom,q6adm-routing". + - #sound-dai-cells Usage: required Value type: @@ -28,6 +33,7 @@ q6adm@8 { compatible = "qcom,q6adm"; reg = ; q6routing: routing { + compatible = "qcom,q6adm-routing"; #sound-dai-cells = <0>; }; }; From patchwork Tue Jun 26 09:20:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139919 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006120lji; Tue, 26 Jun 2018 02:22:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdlbjkmmvycKylFba9yqY1kQGJ+09cHSgrPrJLcscVIF+7vYlrUP015a+zbnHV042k1kxxA X-Received: by 2002:a1c:c1ca:: with SMTP id r193-v6mr895630wmf.25.1530004963773; Tue, 26 Jun 2018 02:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530004963; cv=none; d=google.com; s=arc-20160816; b=ObaxzyZohgPea9QH3RttMTcVFEae5cyFYwiqbDDp2giEPSXmL/2v+c8ryX7nQh8VVp fSZjsRiJ+ChPnqXmd5R6kxmE3daSHfIJca+oF+O6zDpf/F/xKarWYvM1wv7gLuiZaSAD 4CUUvQ29EPrqUpWGRez1ITqNqFd6l/4B78xRaiYA4O6FCK4RsyoXRFIcknqWDx//jS3S cZmQ7pPd6sNuAL+XbyNypMlT7VdxQFM0BGRJr/yqMgYc8K8/8ly1en7Hc/2NbjlvgA0o LOVtulbB3q8h5NTGg+gBlNv8ZUgulOjopER/gEEOyLDgEfiW1Sd+Pgs2JU6KKBC5T2uB DBfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=PhHKuCVTcZKj1TjfPNIvSdPeTszUkeXKp4f6DnoI35I=; b=W3zoRD76RzKEFqLhaXgAeEBiZqGr35x9vd6vZWVd6slfi+bpdXiHOy6O6SlvPdBuO9 DbrGqB+979AscSV1aayXUkCCWIr0EMb9XwAENoP42fYViNIfof7I8vQKmLF18sCai6wG r901nZQWkk2edeBOGlvbtuE2oa1RJMPS/sY/7QTXbcP58IrJHs8U/zQoXVDo7nAtsuG3 sp3JjPpvWRgRT5LZacrus5VhKwvGJar0QTTjt0JK3Z6fI96PlqOCz075cOjTCG1rX+x2 blPy3l/DzZP6f0elGiLOXMmh+V1tYMgrQTfmOlNHzPf+jXTKa2PKWIRYjzjmi8uQA7U0 WUMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YM9FBofU; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id v188-v6si1399300wma.92.2018.06.26.02.22.43; Tue, 26 Jun 2018 02:22:43 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YM9FBofU; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9B46A26787C; Tue, 26 Jun 2018 11:22:34 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id DEA6C267871; Tue, 26 Jun 2018 11:22:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by alsa0.perex.cz (Postfix) with ESMTP id B94862676E7 for ; Tue, 26 Jun 2018 11:22:25 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id z6-v6so14761160wma.0 for ; Tue, 26 Jun 2018 02:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UdGmQxzOghqMV5ZHv5yZbGKuLLYWfjUuKjjUkB5IiUQ=; b=YM9FBofUX5rpYJvEkVMD2VOBUk8fqWT3gB+NMDgbY+CN4fDnpXKALos/Dv3wQVL7aj UmJOXaSuoajMiCKyZy3KkdZ26npgJ3HpLfeovzXBiW3e92ai2RAAYQnhi4hURmLGq8Ps jlc5hbQH+cvibVHTGWHlPFTIRp3xdCF7uKv2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UdGmQxzOghqMV5ZHv5yZbGKuLLYWfjUuKjjUkB5IiUQ=; b=UAANjf/YZ5exMian6IM9LecDMRGtNLNCa7lzppnXau992rcmFEXul9TCm0/Kzwmcgn PlAs8HQdEy0GnwvDHKXIGrlI5tCNV9E3r1Oxw52Z4l/Sz+t4E2PnTHRq1Z2yR5Zvadiz haM3rFAO4ag5/IMfelheGiA2oV1lbJo5l1muz7phaBuYaLc6Ho3j90u9rqS2ZBWUau29 twDxjC6/xJ2HspesYr+I0VH1TDzM54ZlnlktSiLKyxTl2x0W1smJRkXO9rc/4IuueRx5 Lj9dl1Rc41S/HlAWkAF2p1Jyp8H36QiDyexL3RD9YLDRKWgoLCLCJYKQ7oFm8bYfNvXd PtGg== X-Gm-Message-State: APt69E15dOnG+lUO+43T0AeygkD5JaHb+knmUzXDctwqyfLF0itJ6jNY lJcP/dKWBYwxBd48gxOWxW4Twg== X-Received: by 2002:a1c:5451:: with SMTP id p17-v6mr938209wmi.69.1530004945182; Tue, 26 Jun 2018 02:22:25 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:24 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:06 +0100 Message-Id: <20180626092016.9296-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 02/12] ASoC: q6asm: dt-bindings: add compatible string to dais X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Add compatible string to dais so that it can support DT based module autoloading. Signed-off-by: Srinivas Kandagatla Acked-by: Niklas Cassel --- Documentation/devicetree/bindings/sound/qcom,q6asm.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt index 2178eb91146f..f9c7bd8c1bc0 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt +++ b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt @@ -17,6 +17,11 @@ used by the apr service device. = ASM DAIs (Digial Audio Interface) "dais" subnode of the ASM node represents dai specific configuration +- compatible: + Usage: required + Value type: + Definition: must be "qcom,q6asm-dais". + - #sound-dai-cells Usage: required Value type: @@ -28,6 +33,7 @@ q6asm@7 { compatible = "qcom,q6asm"; reg = ; q6asmdai: dais { + compatible = "qcom,q6asm-dais"; #sound-dai-cells = <1>; }; }; From patchwork Tue Jun 26 09:20:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139921 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006221lji; Tue, 26 Jun 2018 02:22:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeFUzegVkKyh/jfra4dzaMM2BwYYsIBjF8N8myX8N3UrEvHSQLt4m8O0HjP9q8WUT3W79Mw X-Received: by 2002:adf:f282:: with SMTP id k2-v6mr692353wro.263.1530004972153; Tue, 26 Jun 2018 02:22:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530004972; cv=none; d=google.com; s=arc-20160816; b=isIdZAiHd1Ou0Lu7l+13X4lZAzxDOmT5WkaEqMtqhrrNc6H7+mb+hRMK2or42Y5B3h PpBv5208BqRxZI51Z91A/0toGrA0B+iIHA0a1yS+9sUW8tNx7rodd5HV0pvbUK9+xDwQ Q1SCIm+zYIouL2NXEE1YYH5sN520dlL8jDgDPgKOWtJNVoHpiDv1YRlW3ZfFYiXQhRk/ wYiqEH3mPTJIJ8gZsHuCUxigKhbwDvyZP3kHaFXeCaFyL4UbDT9+5PdGBT+PEgzgsI9M c6VkM8Hlvys2PZ+emeBMMdsNushiG9TRXDq8BOITmjTPHmpI/eKqtAllWZpVn7R1yGTD LbgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=hZC/tRhIJx67Ip58/fvWLqrDmqTCFtsDqhWUqyFnzMQ=; b=bbRXUeOZhdHYZ/jfRkz1/mI12fjquwdTjF2qU8Sd8T3ihWnJXbEoamGHAuTrjJI6Ep 242hcQNZ8GxGE++CNOCjqULStC4GaaJTEzySEelTKwfGQWebYoYaJYCCqfbqvDKwSOQj UfzGwFa0aSEPBnVbUXR8TG+C2ZpHl8ij/mwIdrImx3AWzyZvrsqRqFUK08jCvyQX0LMM CVyrwub8kfwYEdbiiWBEl9mIDnWiZx2nKWHJsKb2TwwT5ZWSKnGoLamph1Dx8jXQI1Ri k/ZL2ZB4SRjBHmnHZpMkaDMSC/owMOGzo6+SHSiZihVQsw8vhGRsgY1TvleaCl9kCZTE feag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H92+HOLN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 64-v6si1165651wrf.411.2018.06.26.02.22.51; Tue, 26 Jun 2018 02:22:52 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H92+HOLN; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 389A326787B; Tue, 26 Jun 2018 11:22:36 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 131B426786D; Tue, 26 Jun 2018 11:22:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by alsa0.perex.cz (Postfix) with ESMTP id 1DCFC2676B4 for ; Tue, 26 Jun 2018 11:22:26 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id v16-v6so1031683wmv.5 for ; Tue, 26 Jun 2018 02:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3XESVAEAqtEgd3rg0RnVmvpLTzr/jNXXPw1bbBZVbcw=; b=H92+HOLN+NU7S3F+n95KdUL9PPlnDxUh4fxw7RmZ1B7IvIPuMz3NHlsH2NKWbgTIAV 5MDSFGaAlHUMSFjlDpPUV8/7IhORxMtNHXDQlyJTTohpcffrWwhum6NbmsOuzoFJHJwk z74wNNV2NpTmxNCP05u5OkfJh3SgSuoe4RmsQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3XESVAEAqtEgd3rg0RnVmvpLTzr/jNXXPw1bbBZVbcw=; b=cQxuaofNmbU4hZCYNA8bDUIBpOkyBau7LMhJuXl+jejBjKUafXDT4eIDk08NnFlPik PcHbBNhLuUJxC1OGckcMxLsfDd2vCAg7SCKH8WI8hjWw/G7h8rUQLMN8rQyVceguWP88 qWVLjQScYXNmRbXUzssi/H+Vipl6rlKJHALvhAqsIM3q6r0UvnPg5wPF3N2WbCwXXEE5 7VhKuF5Nt9fE+ca5yT9mhBf7ZFVKaQcQ7uTzP81DNjq/srF02rcsLx6IzHDruBw4Ix+R KwvTa2u9IwuQ2Mq+OXG4iScsIukCpofQQ96p6Ml5bEVIemFuJrnIhQdZSOWCiQnBVleZ xuPA== X-Gm-Message-State: APt69E3r/eA7JwvOBR1NV7c7ue6B2ydiPXLmriH8ODaINq40ntbk0kO2 QQPudK+cddLIBjsiv+x6F+Qa5g== X-Received: by 2002:a1c:8312:: with SMTP id f18-v6mr956279wmd.127.1530004946324; Tue, 26 Jun 2018 02:22:26 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:25 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:07 +0100 Message-Id: <20180626092016.9296-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 03/12] ASoC: q6afe: dt-bindings: add compatible string to dais X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Add compatible string to dais so that it can support DT based module autoloading. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/sound/qcom,q6afe.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Acked-by: Niklas Cassel diff --git a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt index bdbf87df8c0b..a8179409c194 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6afe.txt +++ b/Documentation/devicetree/bindings/sound/qcom,q6afe.txt @@ -17,6 +17,11 @@ used by all apr services. Must contain the following properties. subnode of "dais" representing board specific dai setup. "dais" node should have following properties followed by dai children. +- compatible: + Usage: required + Value type: + Definition: must be "qcom,q6afe-dais" + - #sound-dai-cells Usage: required Value type: @@ -100,6 +105,7 @@ q6afe@4 { reg = ; dais { + compatible = "qcom,q6afe-dais"; #sound-dai-cells = <1>; #address-cells = <1>; #size-cells = <0>; From patchwork Tue Jun 26 09:20:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139922 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006333lji; Tue, 26 Jun 2018 02:23:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf/Rdyawd5kqLIYROndsdZmqquUw2OdAbq9ObQTBQsHE/UuZ3wNSlSmxuMNx4MQbrVZXhLz X-Received: by 2002:a1c:4291:: with SMTP id k17-v6mr907790wmi.74.1530004980277; Tue, 26 Jun 2018 02:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530004980; cv=none; d=google.com; s=arc-20160816; b=dMo92EBqX5w8ub+Th5WxU/fE0xfaZJxcid4v+gG9U4/4coEoPy/RhBpa8hU0L4up91 dcCLfZIrxJemIl2VULib3OPrkMKpEZMv7KOBjbcfZ/PdKGVuF1qd0aK6LgQXN4PrLlXC iodI2xX+PJ+fvVZB5gZrW9K7EvIloEffWGAzfIQHSPeEMumk8oht2iM+AwT8ZBrUbPDS YSWXxDqIm1aNScdU1qwSSjVTwot2R/Ss47UrAiH7SedgXcp8i+FlBLNWZwJT+R+MHNDP Z0qCwwIG19tZ0PcMnUhnBvwmkRBMP5RLxv4lQnVIBt+VKk9+10f10WLWI8J9XT5TLg0/ BwQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=069k20JJ3GANV4dmpVjjRIBlNkPLJ8frTj/ZXOhi2Ls=; b=J1ko54rYeA8YXgk3HSMw07zmd+Ymlj63Eg3XeUqGiccr07LIgJ5xmfQe5CjrrMowpn BJvHs8T1HNvKf/+DCbiZLcbxEFdgZxaDkte56fc/hwaR4MXhF5+MVIS8lvGMVk3zYc8W yEOho3ofAp4AuS7+Ld3taxHH1M5we0Kzm7cqIBH5bBzBoWLd/ynMiOopQcGFNLcs4/EA XdUHalswkRJANavUFMngRY7X2oqFXrLRhGj4ree05gKI+1+8ODzvk3Dqqc1SZYtX8QK3 LCicbM6Hpz21OonLjgRWdDRSfwDdL/hpLZAXelmoYaBApSxw9UfBauBYi16NW5SySA/K 9KAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YEzKI8ML; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id x6-v6si1157715wmh.161.2018.06.26.02.23.00; Tue, 26 Jun 2018 02:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YEzKI8ML; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F3D96267894; Tue, 26 Jun 2018 11:22:37 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 034E426786D; Tue, 26 Jun 2018 11:22:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by alsa0.perex.cz (Postfix) with ESMTP id 5DF0A2676B4 for ; Tue, 26 Jun 2018 11:22:28 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id p1-v6so866487wrs.9 for ; Tue, 26 Jun 2018 02:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cEqIPpNtjb9dQHb944VG2jBsTOC/VovGjNwlIJ+31Dg=; b=YEzKI8MLQZfuWw9gYQhtHgB5gdDGlKPY1gKV+yUFrT3XdbWybEYPlHTjR/CBkJqcqd 4T4VEo9rXJKgUPtP1J7Tl/R6NOHP+xQob37Bie4z3o+0lr/jxinDQDjjmkju8ONGTJb/ r1ehZNGBo3C2IF+94XFq8Jpg/SKK+iYJIV10I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cEqIPpNtjb9dQHb944VG2jBsTOC/VovGjNwlIJ+31Dg=; b=Bf2j+CNrs2FHhXA4tM5BGe0GOhnTBAxVzTOFwTvxiEUBRy3R6wOwlUEGCOyFW0QalA 2QAAOQEIJfARkEAVX+/vzSlZrmeGbIhBiBakrv49uG0HY9p4SbtxleEzQPJccOnUrD+p YhA3HENtn4VXUO3HfKsuIKnRPbWYShoaEtQwi5K1U3zbLHY4fupB6qx76IybQdk/IR9z nf7oaYIVN8ULjpgv8r1x7+H7e7DHRVamiF5WPQ4d/xibzT7mKPUyOQB9B28CrceQCFJR F76AbpwremyCwNAWoj/6KU5hTE9nHlRcc8CnkLdeEgtb1X4pZtQTNQceMFDEshQ3Cem/ POHw== X-Gm-Message-State: APt69E0e7OHPxxuNiQJoHb+YX7tUkd4mY8TNpytF5s3lCgZSmrRV9kRz MtBRCSC0zfofUrBidPGOlsfpRg== X-Received: by 2002:adf:9246:: with SMTP id 64-v6mr755074wrj.109.1530004947635; Tue, 26 Jun 2018 02:22:27 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:26 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:08 +0100 Message-Id: <20180626092016.9296-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 04/12] ASoC: qdsp6: q6adm: use of_platform_populate/depopulate() X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Now that the child nodes have there own compatible strings, Use of_platform_populate/depopulate() instead of less common of_platform_device_create()/destroy(). Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6adm.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Acked-by: Niklas Cassel diff --git a/sound/soc/qcom/qdsp6/q6adm.c b/sound/soc/qcom/qdsp6/q6adm.c index 9983c665a941..932c3ebfd252 100644 --- a/sound/soc/qcom/qdsp6/q6adm.c +++ b/sound/soc/qcom/qdsp6/q6adm.c @@ -64,7 +64,6 @@ struct q6adm { struct aprv2_ibasic_rsp_result_t result; struct mutex lock; wait_queue_head_t matrix_map_wait; - struct platform_device *pdev_routing; }; struct q6adm_cmd_device_open_v5 { @@ -588,7 +587,6 @@ EXPORT_SYMBOL_GPL(q6adm_close); static int q6adm_probe(struct apr_device *adev) { struct device *dev = &adev->dev; - struct device_node *dais_np; struct q6adm *adm; adm = devm_kzalloc(&adev->dev, sizeof(*adm), GFP_KERNEL); @@ -605,22 +603,12 @@ static int q6adm_probe(struct apr_device *adev) INIT_LIST_HEAD(&adm->copps_list); spin_lock_init(&adm->copps_list_lock); - dais_np = of_get_child_by_name(dev->of_node, "routing"); - if (dais_np) { - adm->pdev_routing = of_platform_device_create(dais_np, - "q6routing", dev); - of_node_put(dais_np); - } - - return 0; + return of_platform_populate(dev->of_node, NULL, NULL, dev); } static int q6adm_remove(struct apr_device *adev) { - struct q6adm *adm = dev_get_drvdata(&adev->dev); - - if (adm->pdev_routing) - of_platform_device_destroy(&adm->pdev_routing->dev, NULL); + of_platform_depopulate(&adev->dev); return 0; } From patchwork Tue Jun 26 09:20:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139925 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006773lji; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfejlVA/911P2Bh3RI3yWnxv+tn6pCvtxnTsbIeM7FdXN+okHYnGs4dRJMz4SDyA2ehi34j X-Received: by 2002:a1c:2c54:: with SMTP id s81-v6mr902788wms.145.1530005010255; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005010; cv=none; d=google.com; s=arc-20160816; b=tAvaGvfgyDDeTjP3fzhZxdQWGXStvc3aCCivyiX9X2IIFgmQfU6POK4/JmubtWBpQa j8j+gxT8ZrPPJjv0I3nWLKuVc5s79QhmXlDc2Z6N9l8zSWneiCK+fCRK25O7xQuW1TJH BVgvERvC/h0t8eP4fLo4qn3JsU0go3uK1X2L/QgWd873knEBHPfiDQqfqIaTxuNVZrW/ wgAVRA8g4S76AZy6quso6NPqRkwYJPxClzvlH/aBtMJfgibfDdSnh/YxwOfSJd76GweL pOX2PYld/RJhF9oad21pX61lUIYc1u5G56pxk3gWm3Wc6YJiAF498lfHJ5gcko7QPn7U SpPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=02w/Qg/06MhNfjY61BOfCuvfzv0GqUM7djAFGiIkTzI=; b=QxH6ty7lGVV5/EG6Gp8R9hTEZmxrVZlKZDPjwrioYoBFpCE2Xei1AX543rsFVnD9/T s98Gax5QZg7v62Dzo3gmoZmdlgsWRZ275nYh6NPtlw4u16htnJbKQoeF4HgkkcBXUxgS ne6mMLlu2YAEkIaX/l8XiTkvR+dGnFXhqNkVRDiALNNVuRQFuxazO9mejQXDXIrusHOI 4Sf0XKEU6RsH59Yi+LJRgPrU5+SEtKppOsCxhAL54YRyiQQLGhyDJoEviqCYa09gvDFx yklVtbVGzMMMI++2z3MiYjrqHoZJBQyUdeey4e8egF8dhepZifMiHek46slCllesHklg 59Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+cyKahC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 17-v6si1240351wrv.412.2018.06.26.02.23.29; Tue, 26 Jun 2018 02:23:30 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+cyKahC; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2DB892678AB; Tue, 26 Jun 2018 11:22:44 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 98C4F26788E; Tue, 26 Jun 2018 11:22:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id AB6F72676B4 for ; Tue, 26 Jun 2018 11:22:32 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id e16-v6so1033718wmd.0 for ; Tue, 26 Jun 2018 02:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dDHlQQyDgNgCnbd9tlc16D/4bHw7LUCY4jFdFkZ6Znk=; b=F+cyKahCRSnwMLc7HfBOO2kByLZWw6cGsDsVvXJ/5IKhTl99gon0VxdjX+sggnQZbB J7vAj/hERlj2l2iB0HYph5BmrMLwJsy6ssMZFJH9vZBhYkuLDYgvrd5EaP2AWeiR9jEE F6UAS/IpTtzcv2Uso5hktnirhbllP7emVTXow= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dDHlQQyDgNgCnbd9tlc16D/4bHw7LUCY4jFdFkZ6Znk=; b=hTA4gRnii+sNGJ5/x4RBSDHXWnWZcA4/XdykPmarJGutLdMfpJUUk6ZsgNSgAut7x7 +ujGe8nW8SAFws2U9M0D9x32Ssn7aJxAFLquElRA0OeSFmPD6Cw3VcgfZmCg3WEt6FBV 2+fimLQ6NkQDAeeOKMckoETfksUn67r7gq6bRrLulRFZmwO6FxwQp8jwYEfBhk2DeOJ7 3GgHU6Sx+xyK0V9MsZSLducoDXkQ7K13rgV786di5dS1GNEbVlTIUhyj3St3T9/F4CrC QZ3sZdWmn0kehdYQToWt+p75nyjKzC0rYP5saHQh6EKOeV8c8NLCCOIYBX7ic4XVFV+D U08A== X-Gm-Message-State: APt69E3YPEVeyj0Vk/1ziZ4BI2qHJtCrF79dPUGDH5Pymx9kifZxZSuc E/SR8vPBHqpvSSWYwIkAZRjW/w== X-Received: by 2002:a1c:9e95:: with SMTP id h143-v6mr952105wme.68.1530004952197; Tue, 26 Jun 2018 02:22:32 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:31 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:12 +0100 Message-Id: <20180626092016.9296-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 08/12] ASoC: qdsp6: q6asm-dai: support dt based module loading X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org This patch uses new compatible string to make DT based module loading work. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6asm-dai.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c index 349c6a883c63..1196dc7483d2 100644 --- a/sound/soc/qcom/qdsp6/q6asm-dai.c +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c @@ -611,9 +611,16 @@ static int q6asm_dai_dev_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id q6asm_dai_device_id[] = { + { .compatible = "qcom,q6asm-dais" }, + {}, +}; +MODULE_DEVICE_TABLE(of, q6asm_dai_device_id); + static struct platform_driver q6asm_dai_platform_driver = { .driver = { .name = "q6asm-dai", + .of_match_table = of_match_ptr(q6asm_dai_device_id), }, .probe = q6asm_dai_probe, .remove = q6asm_dai_dev_remove, From patchwork Tue Jun 26 09:20:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139926 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5006884lji; Tue, 26 Jun 2018 02:23:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf877KrGdCGtB07wE+B83cv/+UGe62ntAz1EyHTixoHremVY+HTbJ/Oyg4FO3IeS0ml2ECT X-Received: by 2002:a1c:ad09:: with SMTP id w9-v6mr990439wme.95.1530005017305; Tue, 26 Jun 2018 02:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530005017; cv=none; d=google.com; s=arc-20160816; b=L4H9Q84FX4j3s6ZB7mnrh8nAFdDOeqcPzj330eJBhD1SJnjeaKrmKfvqNYs4qbj9Mg su26G55oynl6Ch9HkbEis/USUq0/4o3FKUEpEaXMkfijM89kr7A1scJqKKIDUJRG/AIL DinyocDb6Id2EqDz/WhVxQ64NPezvnRMi8j4Q0OA/9dzLKVJjwRV94quZHRsQqiN0vY9 ZuTqFQLMAk673IQoJ2vxA7l/XuOuL1cev2FN+ls9Dt9OdOGJdgCt44eT6OUPjjfBqgs9 jWWs0kgg/tiuA05mqSVou6dcNYrqWl9NDrFtVfo4cyw8DpoFaoV0DHrP08FLv7U9VGDK cR9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=CV8PH+3WnlgbWpdAlTF4y2CHzQYWgopRCagmvtPxfjA=; b=BI9FnRyD7DX2UeNbNedyFC46N5A0DBk5sJM+2E9hMYSM0oHpeHsoG9utNqjcOwX9vt icwit/oCitx00D1AAayKWldpcRHqFJYpR5ceksbOtmAkIJSvtlSWquaiS5W9jKGGHsbZ JAvwv92brMFzM/9S/pgniis7dIu15WA17RB+c1ud66Rt3W9ei4z4FlMsVDngrkEm57aZ iDU0JWUPT8AnUOwFhCE1DLVfaiBCzIpzuBjfYFLgGhJjUm8flNqubbkwRI0vb92DbQC2 ZglAQzreAQbPMukh6DJmQSDybkfCrawb4smt26VhHMe7dG0vHh0lSl9/2FZ2rYPrivib jPFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ePWo9yuV; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id x185-v6si1389131wmx.69.2018.06.26.02.23.37; Tue, 26 Jun 2018 02:23:37 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ePWo9yuV; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 80349267892; Tue, 26 Jun 2018 11:22:45 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EF62826788E; Tue, 26 Jun 2018 11:22:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by alsa0.perex.cz (Postfix) with ESMTP id 8B1EB267889 for ; Tue, 26 Jun 2018 11:22:33 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id x6-v6so1024545wmc.3 for ; Tue, 26 Jun 2018 02:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IdXa8XV5jspUkJyntVmzVAz5Mc3ePJihh8ETQaG1HXM=; b=ePWo9yuVO/2z1B/h+W3Er1GYoaNz996t3L70NG7cvpoOr9gUnDnpyHFVrg592zarqL tr3NZoT90g+YJpKeVg/VCIyZ5jqw9PaDPZXwFnjepjhZHNpWDlsw/LMhvLOgZFlN9GBb 0DXSEUm3X2S7LkAFVRvRSSP5aVvddW4J2s8uM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=IdXa8XV5jspUkJyntVmzVAz5Mc3ePJihh8ETQaG1HXM=; b=HpPhlkQsTpuUPxfkDcLSgOxBFGG1MncUjEPPjdI9BGmA3kgsO/CU8eq8zhaak24bY2 effs6v2oc7NSvlxRGjbN92emmDGUjVcjEXVt8toOSbfolLHp+qr8sLu0zL/7wpvIATI6 9K9Vhk4SUpAzVaEqoXfjrzQ/+0aTvzZwK/plOPfv5C0OHy7NHLBn9EE7o5Qn3xl5b4l3 vNe221IuvE1gKEoc+Tv/SHmyEjWOWh1Pd57Z8qReQZq6f53jkqUrkZA93HBextybbavD GFL2If2KrouEcEZPRAYIINZYxFSnV4DbAFIHguFA4JiqPD6e09Wb1rMNvIa1KYzW1Vrx sQmw== X-Gm-Message-State: APt69E0CExOr+xiuMkTzZ152edRBIsm8Chq5cjHhxMSPZyYF/WmKfYAX J2iAcdjYdqEgPtvOMeRbxPJiyg== X-Received: by 2002:a1c:c7c3:: with SMTP id x186-v6mr976651wmf.39.1530004953283; Tue, 26 Jun 2018 02:22:33 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id x5-v6sm1438456wrr.3.2018.06.26.02.22.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jun 2018 02:22:32 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, robh+dt@kernel.org, alsa-devel@alsa-project.org Date: Tue, 26 Jun 2018 10:20:13 +0100 Message-Id: <20180626092016.9296-10-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> References: <20180626092016.9296-1-srinivas.kandagatla@linaro.org> Cc: devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, tiwai@suse.com, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v2 09/12] ASoC: qdsp6: q6routing: support dt based module loading X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org This patch uses new compatible string to make DT based module loading work. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6routing.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/qcom/qdsp6/q6routing.c b/sound/soc/qcom/qdsp6/q6routing.c index 593f66b8622f..ab696bf8d1d3 100644 --- a/sound/soc/qcom/qdsp6/q6routing.c +++ b/sound/soc/qcom/qdsp6/q6routing.c @@ -993,9 +993,16 @@ static int q6pcm_routing_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id q6pcm_routing_device_id[] = { + { .compatible = "qcom,q6adm-routing" }, + {}, +}; +MODULE_DEVICE_TABLE(of, q6pcm_routing_device_id); + static struct platform_driver q6pcm_routing_platform_driver = { .driver = { .name = "q6routing", + .of_match_table = of_match_ptr(q6pcm_routing_device_id), }, .probe = q6pcm_routing_probe, .remove = q6pcm_routing_remove,