Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp682785imp; Wed, 20 Feb 2019 07:15:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IYWsN0+Jw1JC828Q25PaUFSlaJPvAZ7xSUAtNUHZ050VW6Lc7y1DKyWe4m1R6gHGCLmArW1 X-Received: by 2002:a63:545:: with SMTP id 66mr29210469pgf.102.1550675758150; Wed, 20 Feb 2019 07:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550675758; cv=none; d=google.com; s=arc-20160816; b=dIBtLdBFc/yHwYwRjCwqMBWRsnCtYQuFWiAcemRKEnEGwjP9wm3EJ7XhU4KqA5fnDZ 3jndyn57LRlHFlQKSnPifnLNp+7n8NEmwK21kdfcCuRCZaYcCdRmP82JLXpvJxjbYqKJ 5ZXTqubEkc9J+xlZleg9Mh0H6e4Q2tGJJT1sXu6a8+1ddEzWAjUfCVswppQ/XK+q+7AS PVmfMT4A+qKjORVDXYhao+PFPJxJbmFPECc+FEE8K7FcTB9nwdyW6JoJozcXnSciDOUg OLeSgMiwRIfwQAmd14kd/9bH406aHypKnpyBKpv25adePoTNtzyb//kdlsN6f62K1KbG v4Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=OAAQLyFtj25y1vGIGDEX6nErjxGE93r6zi1GwXxvDhA=; b=PGymYA0/3jP/0i+2ocdw3jqUGgk8fslSlST6/PsLiUNKKdoQN1dkOxA/H1nMq019P5 Emrc5D/UwDqoCfPc3S9a8OFsu+ELycReLviKUBD0W1y8pkys5ndCDEc5922p3ACDlqFI tb4zEOrTL18A73nskzcRXfJ5G5cIiluvaIMw7ebCGUfPIpJe2wqRi3UsSp1HEdMq/2Ng pscb0jfLyZikSaY2RcOu2s7ILUWQsYin87kbDj4ZgPom/QPN099mx5td83CCb0GJy2d2 qJLS2bu7YDHfm4x14KhfeHvT4uzImCcDtBMWaG2h7nLOS9ROeiHh1IuYq6Xwu+Z9FUwl JiDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=jig5rcPt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si16738420plt.88.2019.02.20.07.15.42; Wed, 20 Feb 2019 07:15:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@nvidia.com header.s=n1 header.b=jig5rcPt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727284AbfBTPNo (ORCPT + 99 others); Wed, 20 Feb 2019 10:13:44 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:2406 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbfBTPNo (ORCPT ); Wed, 20 Feb 2019 10:13:44 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 20 Feb 2019 07:13:52 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 20 Feb 2019 07:13:43 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 20 Feb 2019 07:13:43 -0800 Received: from HQMAIL104.nvidia.com (172.18.146.11) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 15:13:43 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 15:13:43 +0000 Received: from linux.nvidia.com (Not Verified[10.24.34.185]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 20 Feb 2019 07:13:42 -0800 From: Sameer Pujar To: , , , CC: , , , , , , Sameer Pujar Subject: [PATCH 1/3] ALSA: hda/tegra: property for card name Date: Wed, 20 Feb 2019 20:43:22 +0530 Message-ID: <1550675604-14788-1-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550675632; bh=OAAQLyFtj25y1vGIGDEX6nErjxGE93r6zi1GwXxvDhA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Type; b=jig5rcPt+HxccFdj7XvRYCqtUmfmte+laFnM3kMXG6VLBIPYi7BBRoFWzzDeEeUi3 b8jwlwDzQvjg8VJqCofBkC4Mr/rgNkDDUNlQ6BdrlmTVcw8CWGITel44TFFz14dISU 5NZxLoTqZynOKEKY8tDcW3Cdukt6dIe+ESYevSGh1sFfmU9Jp9YjLQUpLFWgMUCgGA OczHWfWdBmNPktmrKX/GAvtOhuFiLfG0G7fJkuXF2SWy8piwuaT97R1Lfa0IgVMAVL iuPfsdx1+SW+rS6c0iIlwaJaOmef4VVNPrh4B8e1gYDKJCSYo/FmxE2ZIfqy/X+qNP tmtU/33zhCyxw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An optional property "nvidia,model" is introduced for hda to pass custom name for the sound card. The suffix "-hda" in the name passed is useful to distinguish between multiple cards available for a platform. When the property is not specified, default name("tegra-hda") mentioned in hda driver is used. This property can be added in platform specific file of the board and card name can relate to the board in use. Signed-off-by: Sameer Pujar Reviewed-by: Jonathan Hunter --- Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt index 44d2745..21cd310 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.txt @@ -13,6 +13,10 @@ Required properties: See ../reset/reset.txt for details. - reset-names : Must include the following entries: hda, hda2hdmi, hda2codec_2x +Optional properties: +- nvidia,model : The user-visible name of this sound complex. Since the property + is optional, legacy boards can use default name provided in hda driver. + Example: hda@70030000 { @@ -27,4 +31,5 @@ hda@70030000 { <&tegra_car 128>, /* hda2hdmi */ <&tegra_car 111>; /* hda2codec_2x */ reset-names = "hda", "hda2hdmi", "hda2codec_2x"; + nvidia,model = "jetson-tk1-hda"; }; -- 2.7.4