From patchwork Fri Sep 20 11:35:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 174129 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2381637ill; Fri, 20 Sep 2019 04:52:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLvxETV6ndGZ4oaqU2sQRKNJ2uYEHLQqlwjwAdQ2E1MkvgkQbArDD8NpK6ITQSemroZ0kr X-Received: by 2002:a50:e40a:: with SMTP id d10mr21774404edm.194.1568980326189; Fri, 20 Sep 2019 04:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568980326; cv=none; d=google.com; s=arc-20160816; b=cl6d9OvvIRWe4p5JAZ6nOkd5e5388L6RDmvnPcNTFDN3QyXUEej14EZbqTEDLfH3ZA diDNCJBjr221R/1OccG4uDwjnPwjiZBy1cmTHoY13rE2xu9ZXVuxpAkbY/0La2o4SvLb nDDdL+DCsCsSVbCDHaTDap10/EOAh6TBDCt9EOGsJVtrnNZJ5rBrHuvCwxcDc4zijfn5 IpWxl9Oe/Vuum/ruQ1xVnGzt9NNvnO4oEdbgte7KBKKa1rr3W4l+fe/yVmP/UpKQtqsw jmy51OCCL7Y0F9pZQFDDmIOOrLyoCMHq4BMTFiVuio8JvynA5wmgvWx8dGcYO668Fbf0 t5vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=LdpnFosArp18PSXWxbWOiB78llp8RSy/a48eY2UkFgo=; b=SqyG3nNSGDUnM0l3qt69dAgHxA/tM9fo9D2eTCYyqLLKAGO7Vd4p05bLzsrCCsvPqS NbWn/iAT+rpqD6ZYEb5pK3Ri5MkUvVXvGivFurFKkAfUeEbiglu+8aCv0Ei14Pooay4s fpU7LRx6v8X1MBy4vOal5EUNw6Iolncvi/VcE7BttIr4qK7AecH+IDjRnnGIXO+sCkTz zZohScP00omgXS+utjOpZUIVSmQ+uQzKYdM2piHRywoL8+D0mib9LfyvfTrPD2lTs22s xYzDGR8f6XRx7kG/wivVU+abIHbv5kaN/ckEarMRZ6Ari/mIlrTUixblHgUGbwxJPazD 695g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=i2biMoES; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si873373ejb.48.2019.09.20.04.52.05; Fri, 20 Sep 2019 04:52:06 -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=@samsung.com header.s=mail20170921 header.b=i2biMoES; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438278AbfITLwF (ORCPT + 8 others); Fri, 20 Sep 2019 07:52:05 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:49960 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438229AbfITLwF (ORCPT ); Fri, 20 Sep 2019 07:52:05 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190920115202euoutp01c1562ef3b86e415ee07eda28b79540e5~GI0ps20ng0841408414euoutp012 for ; Fri, 20 Sep 2019 11:52:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190920115202euoutp01c1562ef3b86e415ee07eda28b79540e5~GI0ps20ng0841408414euoutp012 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568980322; bh=LdpnFosArp18PSXWxbWOiB78llp8RSy/a48eY2UkFgo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i2biMoESeyQb6QlrgW2cDyNy5rKplQT431x2UgMhLiucTUBwfip5V/9x6nVIuWQio TOgMKW6zqwGEWIIwHPS8hZUJEsgI9UXdDsQP8JRoBnIvxesO5k2HyHGdCMxyHMFKyS wO5loY2FoS+urwtfIt740Qw8qWz91lvWj+ghAUsw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190920115201eucas1p2a7c5ab0b43df6524df9c731b6e1d14b1~GI0ot4Zex0750807508eucas1p2d; Fri, 20 Sep 2019 11:52:01 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 24.23.04469.16DB48D5; Fri, 20 Sep 2019 12:52:01 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190920115200eucas1p2253a3eb13373061ef8aa39131c98a319~GI0nq1sZM1617116171eucas1p20; Fri, 20 Sep 2019 11:52:00 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190920115200eusmtrp1caf59b818f2a18b9d5ae6ef1db8e32c3~GI0nZBdKN2442224422eusmtrp10; Fri, 20 Sep 2019 11:52:00 +0000 (GMT) X-AuditID: cbfec7f2-569ff70000001175-cf-5d84bd6108b9 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EB.08.04117.06DB48D5; Fri, 20 Sep 2019 12:52:00 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190920115159eusmtip152781bf9abf176baae7494360c48dd07~GI0mrrjGe0753107531eusmtip1D; Fri, 20 Sep 2019 11:51:59 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: Maciej Falkowski , Krzysztof Kozlowski , Mark Rutland , Rob Herring , Sylwester Nawrocki , Liam Girdwood , Mark Brown , Andrzej Hajda , Marek Szyprowski Subject: [PATCH v3] dt-bindings: sound: Convert Samsung I2S controller to dt-schema Date: Fri, 20 Sep 2019 13:35:40 +0200 Message-Id: <20190920113540.30687-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAKsWRmVeSWpSXmKPExsWy7djP87qJe1tiDVY/ELG4te4cq8WVi4eY LKY+fMJmMf8IkHv+/AZ2i29XOpgsLu+aw2Yx4/w+JosHzevYLNYeuctusfT6RSaL1r1H2C0O v2lndeD12PC5ic1jzbw1jB47Z91l99i0qpPNo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDLe rJ7JXLDKo2Jh4x/mBsY/5l2MnBwSAiYSF9t/MXUxcnEICaxglOh/8pgFwvnCKHFm+VVmkCoh gc+MEu9P6cF0zOpoY4QoWs4ocePzcja4jsYdPxhBqtgEDCW63naxgdgiAnUSJ28uBhvLLPCS SeLy562sIAlhgVCJw4vegNksAqoSbQsawNbxCthK7J2/iR1inbzE6g0HwOKcAoESS/o2gR0r IbCMXeL77mY2iCIXif9z1jFD2MISr45vgWqWkTg9uYcFoqGZUeLhubXsEE4Po8TlphmMEFXW EoePXwQ6gwPoPk2J9bv0IcKOEv3tXSwgYQkBPokbbwVBwsxA5qR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NTS3sDQ0NzY3NrNQEuftEDgYIySQnliS mp2aWpBaBNPHxMEp1cDoqPT7G1fh3HUhKzrY3lipT37Yr17asay2Z+aRznUv9Lf6BtWxT5Ne P/3p3qNZy60v5Pw25ehzzLtw0fu1xHKp5bqF2o1CPDvzeuZWCPwRCWYSu7o20UslzLqeLYrJ Yjq74JJwN8sU0/W+8a3Jys4P92000Nm2XPeQ1rOX9xfnNR9jeSB6+ZUSS3FGoqEWc1FxIgAi 041OlAIAAA== X-CMS-MailID: 20190920115200eucas1p2253a3eb13373061ef8aa39131c98a319 X-Msg-Generator: CA X-RootMTR: 20190920115200eucas1p2253a3eb13373061ef8aa39131c98a319 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190920115200eucas1p2253a3eb13373061ef8aa39131c98a319 References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Maciej Falkowski Convert Samsung I2S controller to newer dt-schema format. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v3: - Removed quotation marks from strings in compatible property - Added min/max items to dmas property - Removed unneeded description from dma-names property - Added specific dma-names - Added clock description - Added include directive to examples to use clock macros directly --- .../devicetree/bindings/sound/samsung-i2s.txt | 84 ----------- .../bindings/sound/samsung-i2s.yaml | 135 ++++++++++++++++++ 2 files changed, 135 insertions(+), 84 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/samsung-i2s.txt create mode 100644 Documentation/devicetree/bindings/sound/samsung-i2s.yaml -- 2.17.1 diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.txt b/Documentation/devicetree/bindings/sound/samsung-i2s.txt deleted file mode 100644 index a88cb00fa096..000000000000 --- a/Documentation/devicetree/bindings/sound/samsung-i2s.txt +++ /dev/null @@ -1,84 +0,0 @@ -* Samsung I2S controller - -Required SoC Specific Properties: - -- compatible : should be one of the following. - - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. - - samsung,s5pv210-i2s: for 8/16/24bit multichannel(5.1) I2S with - secondary fifo, s/w reset control and internal mux for root clk src. - - samsung,exynos5420-i2s: for 8/16/24bit multichannel(5.1) I2S for - playback, stereo channel capture, secondary fifo using internal - or external dma, s/w reset control, internal mux for root clk src - and 7.1 channel TDM support for playback. TDM (Time division multiplexing) - is to allow transfer of multiple channel audio data on single data line. - - samsung,exynos7-i2s: with all the available features of exynos5 i2s, - exynos7 I2S has 7.1 channel TDM support for capture, secondary fifo - with only external dma and more no.of root clk sampling frequencies. - - samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports - stereo channels. exynos7 i2s1 upgraded to 5.1 multichannel with - slightly modified bit offsets. - -- reg: physical base address of the controller and length of memory mapped - region. -- dmas: list of DMA controller phandle and DMA request line ordered pairs. -- dma-names: identifier string for each DMA request line in the dmas property. - These strings correspond 1:1 with the ordered pairs in dmas. -- clocks: Handle to iis clock and RCLK source clk. -- clock-names: - i2s0 uses some base clocks from CMU and some are from audio subsystem internal - clock controller. The clock names for i2s0 should be "iis", "i2s_opclk0" and - "i2s_opclk1" as shown in the example below. - i2s1 and i2s2 uses clocks from CMU. The clock names for i2s1 and i2s2 should - be "iis" and "i2s_opclk0". - "iis" is the i2s bus clock and i2s_opclk0, i2s_opclk1 are sources of the root - clk. i2s0 has internal mux to select the source of root clk and i2s1 and i2s2 - doesn't have any such mux. -- #clock-cells: should be 1, this property must be present if the I2S device - is a clock provider in terms of the common clock bindings, described in - ../clock/clock-bindings.txt. -- clock-output-names (deprecated): from the common clock bindings, names of - the CDCLK I2S output clocks, suggested values are "i2s_cdclk0", "i2s_cdclk1", - "i2s_cdclk3" for the I2S0, I2S1, I2S2 devices respectively. - -There are following clocks available at the I2S device nodes: - CLK_I2S_CDCLK - the CDCLK (CODECLKO) gate clock, - CLK_I2S_RCLK_PSR - the RCLK prescaler divider clock (corresponding to the - IISPSR register), - CLK_I2S_RCLK_SRC - the RCLKSRC mux clock (corresponding to RCLKSRC bit in - IISMOD register). - -Refer to the SoC datasheet for availability of the above clocks. -The CLK_I2S_RCLK_PSR and CLK_I2S_RCLK_SRC clocks are usually only available -in the IIS Multi Audio Interface. - -Note: Old DTs may not have the #clock-cells property and then not use the I2S -node as a clock supplier. - -Optional SoC Specific Properties: - -- samsung,idma-addr: Internal DMA register base address of the audio - sub system(used in secondary sound source). -- pinctrl-0: Should specify pin control groups used for this controller. -- pinctrl-names: Should contain only one value - "default". -- #sound-dai-cells: should be 1. - - -Example: - -i2s0: i2s@3830000 { - compatible = "samsung,s5pv210-i2s"; - reg = <0x03830000 0x100>; - dmas = <&pdma0 10 - &pdma0 9 - &pdma0 8>; - dma-names = "tx", "rx", "tx-sec"; - clocks = <&clock_audss EXYNOS_I2S_BUS>, - <&clock_audss EXYNOS_I2S_BUS>, - <&clock_audss EXYNOS_SCLK_I2S>; - clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; - #clock-cells = <1>; - samsung,idma-addr = <0x03000000>; - pinctrl-names = "default"; - pinctrl-0 = <&i2s0_bus>; - #sound-dai-cells = <1>; -}; diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.yaml b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml new file mode 100644 index 000000000000..20ae5da7f798 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/samsung-i2s.yaml @@ -0,0 +1,135 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/samsung-i2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung SoC I2S controller + +maintainers: + - Krzysztof Kozlowski + - Sylwester Nawrocki + +properties: + compatible: + description: | + samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. + + samsung,s5pv210-i2s: for 8/16/24bit multichannel(5.1) I2S with + secondary fifo, s/w reset control and internal mux for root clk src. + + samsung,exynos5420-i2s: for 8/16/24bit multichannel(5.1) I2S for + playback, stereo channel capture, secondary fifo using internal + or external dma, s/w reset control, internal mux for root clk src + and 7.1 channel TDM support for playback. TDM (Time division multiplexing) + is to allow transfer of multiple channel audio data on single data line. + + samsung,exynos7-i2s: with all the available features of exynos5 i2s. + exynos7 I2S has 7.1 channel TDM support for capture, secondary fifo + with only external dma and more no.of root clk sampling frequencies. + + samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports + stereo channels. exynos7 i2s1 upgraded to 5.1 multichannel with + slightly modified bit offsets. + enum: + - samsung,s3c6410-i2s + - samsung,s5pv210-i2s + - samsung,exynos5420-i2s + - samsung,exynos7-i2s + - samsung,exynos7-i2s1 + + reg: + maxItems: 1 + + dmas: + minItems: 2 + maxItems: 3 + + dma-names: + oneOf: + - items: + - const: tx + - const: rx + - items: + - const: tx + - const: rx + - const: tx-sec + + clocks: + minItems: 1 + maxItems: 3 + description: | + There are following clocks available at the I2S device nodes: + CLK_I2S_CDCLK: + the CDCLK (CODECLKO) gate clock. + + CLK_I2S_RCLK_PSR: + RCLK prescaler divider clock corresponding to the IISPSR register. + + CLK_I2S_RCLK_SRC: + RCLKSRC mux clock corresponding to RCLKSRC bit in IISMOD register. + + clock-names: + oneOf: + - items: + - const: iis + - items: + - const: iis + - const: i2s_opclk0 + - items: + - const: iis + - const: i2s_opclk0 + - const: i2s_opclk1 + description: | + "iis" is the i2s bus clock. + For i2s1 and i2s2 - "iis", "i2s_opclk0" + For i2s0 - "iis", "i2s_opclk0", "i2s_opclk1" + + "#clock-cells": + const: 1 + + samsung,idma-addr: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + Internal DMA register base address of the audio + sub system(used in secondary sound source). + + pinctrl-0: + description: Should specify pin control groups used for this controller. + + pinctrl-names: + const: default + + "#sound-dai-cells": + const: 1 + +required: + - compatible + - reg + - dmas + - dma-names + - clocks + - clock-names + +examples: + - | + #include + + i2s0: i2s@3830000 { + compatible = "samsung,s5pv210-i2s"; + reg = <0x03830000 0x100>; + dmas = <&pdma0 10>, + <&pdma0 9>, + <&pdma0 8>; + dma-names = "tx", "rx", "tx-sec"; + clocks = <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_SCLK_I2S>; + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; + #clock-cells = <1>; + samsung,idma-addr = <0x03000000>; + pinctrl-names = "default"; + pinctrl-0 = <&i2s0_bus>; + #sound-dai-cells = <1>; + }; + From patchwork Fri Sep 20 12:14:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 174136 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2408716ill; Fri, 20 Sep 2019 05:15:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGhs/qjLFYY9OSaCsPaolsjX/DP/niEgMtmdl+zQgYMrc5Mj3TleiCcQAoMLspSKB+E16M X-Received: by 2002:a50:a41c:: with SMTP id u28mr21496585edb.185.1568981734683; Fri, 20 Sep 2019 05:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568981734; cv=none; d=google.com; s=arc-20160816; b=Z9wgI2nEgML0d8d2JPwElxrSTBwpj5kEQZS/NZ5lCi8yhuMbJj9A0ZxC2AnJdi45Fl Ymxyx8dIg2JR9qzY2U/rRgBJrxDXwkZ3B54zr0WcVsKHIBQ4Ux9xhnFuWclCeSwiBZNc dS6J6GqVXypa5NOZQi/R8pg/GBSGankzO4RgxASn9T2USF1Y14X2H9Essb5XQtNb3LTA YgmWPsvAXx9E7vypud1fdwItV7YGW0qeCROEpRlL52SgDxDKw8njWiY3BEqsz1wBQ9I7 /Ueiwo5xz22apY5PO6sWz2mPekC5IP77rEX6ZktxeTKK8r1Py4dEC3IduPkEBawmPCJk RLlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=5t6i+MasaTkGBz3VaPNBEYlGcTk2Ng3zUqeDZ2xAtpI=; b=jr0BFhv5eM4L2rU+D0H2caVfyJC+HNM2j3Df0ZGhq6lH3/jfub1H0+1Q8HUUrVonW2 NxuAWTin7X6MNE4NY2d0+RMG5j1SqhoXEilPZkuZm9yOguxhYWA6eKs/Olv0XKzsm92l lQ1ESSdRhMPyPnxKA4np20dNF6LNnp2bORE7ENjgX3n5/7/TfkYCfGsvY5+oS4TypXkp wz9/TsiBt35SaW5/mBXZXld+Q3x58/7t+Mk+s+1cZwmcXIUJcrVjS6GYp3j3/ngo+QCu f7x+jFZnnsAnCec/ax5mF9B2ZX4pPOvKqc1ZE7E4IqiFwk0nd1dLqILGHUp2xKUgCE9S eFMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cniAC64j; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15si1221691eda.53.2019.09.20.05.15.34; Fri, 20 Sep 2019 05:15:34 -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=@samsung.com header.s=mail20170921 header.b=cniAC64j; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408843AbfITMPb (ORCPT + 8 others); Fri, 20 Sep 2019 08:15:31 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36190 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408873AbfITMPa (ORCPT ); Fri, 20 Sep 2019 08:15:30 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190920121528euoutp0292bcdb4ab8770437f495d3eef9c5f7c1~GJJGhc5532973129731euoutp02F for ; Fri, 20 Sep 2019 12:15:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190920121528euoutp0292bcdb4ab8770437f495d3eef9c5f7c1~GJJGhc5532973129731euoutp02F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568981728; bh=5t6i+MasaTkGBz3VaPNBEYlGcTk2Ng3zUqeDZ2xAtpI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cniAC64jaeFwSjm9XDgx+c4MypwdfSg8acwlqhh6EoxUXIruglEnznaVxrUrZ6h+g OQ3Nvo8kKy7yBPlm2z975kmnhA1te+KH81EgXcouT9sPRB2E4E39BrMLXXeVryrTUw a4vYGb46TuNkz6lDNoFijOIAHGDuTtaTJY0mzAbM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190920121527eucas1p18101214cfe08c210b3d71cf6ccdef18e~GJJFwSsq33273232732eucas1p1n; Fri, 20 Sep 2019 12:15:27 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 84.D3.04374.ED2C48D5; Fri, 20 Sep 2019 13:15:26 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190920121526eucas1p2e2165c088519094752066db49aa8ae51~GJJEzD_wh1857318573eucas1p27; Fri, 20 Sep 2019 12:15:26 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190920121525eusmtrp2eadfaa861208ab3fe2ad41946a3b3ef6~GJJEh1dp-1406614066eusmtrp2F; Fri, 20 Sep 2019 12:15:25 +0000 (GMT) X-AuditID: cbfec7f5-4ddff70000001116-d4-5d84c2de5499 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 09.CA.04117.DD2C48D5; Fri, 20 Sep 2019 13:15:25 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190920121525eusmtip25b743618866b65c75ed3ab64294daf83~GJJD7u8kX1487014870eusmtip2k; Fri, 20 Sep 2019 12:15:25 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: Maciej Falkowski , Krzysztof Kozlowski , Mark Rutland , Rob Herring , Sylwester Nawrocki , Liam Girdwood , Mark Brown , Andrzej Hajda , Marek Szyprowski Subject: [PATCH 2/2] arm64: dts: exynos: split phandle in dmas property Date: Fri, 20 Sep 2019 14:14:31 +0200 Message-Id: <20190920121431.31678-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190920121431.31678-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSeUhTcRzv997esdHqNQV/mFeLotODil5UkqA0pCAKExStZz5UciqbRxqE uKY2Qs0jZdmUojSb17ThjMQ25wrBZa6alqagVB5gzCPTNOcz++9zffl8+fIlUZEGcycTklJZ WRKTKMYFPH33ovXwsPF2lH+N6Tg92NCL0bY+I0KXjY7hdFXXGrVamwh63paP0P3tlThdYe1A 6BFFA07Xdw0R9JNPfQitfNVF0KapPOyMUNLkyMElWo0WSAzqIUKiq7uDSwpa64DEofO6gEcI TsWyiQnprMwv8KogXjlXwUuZ4t/QznVj2WCJUAGShNRR+NmYog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idbpILs5OHgFbCXufGOC 2CAvsXrDAbASTgE7ian/PzBDbGthlOj/+ZFxAiPfAkaGVYwiqaXFuem5xUZ6xYm5xaV56XrJ +bmbGIHhv+3Yzy07GLveBR9iFOBgVOLhVShvjhViTSwrrsw9xCjBwawkwjvHtClWiDclsbIq tSg/vqg0J7X4EKMp0FETmaVEk/OBsZlXEm9oamhuYWlobmxubGahJM7bIXAwRkggPbEkNTs1 tSC1CKaPiYNTqoFxDmPiHbX+1avfJ6uxH+Ngdtt7T5HrxNS0Dq+La1Ttdjz5O6nSrCt+nWLn rbxOpc5N1Wef354Y1/+y6SNzjfKBItVyO7frF+LYND6/KebZnbzQoY9Jc4La0oP9RVf5ww8E 3H8edE382MNp1/1FU54GTs6LvLvCRHGzyEIvLoeLJ8tWduabz1yjxFKckWioxVxUnAgAslOU T5UCAAA= X-CMS-MailID: 20190920121526eucas1p2e2165c088519094752066db49aa8ae51 X-Msg-Generator: CA X-RootMTR: 20190920121526eucas1p2e2165c088519094752066db49aa8ae51 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190920121526eucas1p2e2165c088519094752066db49aa8ae51 References: <20190920121431.31678-1-m.szyprowski@samsung.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Maciej Falkowski Change representation of phandle array as then dt-schema counts number of its items properly. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index ba66ea906f60..ba1800c6aaf1 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1452,7 +1452,7 @@ i2s1: i2s@14d60000 { compatible = "samsung,exynos7-i2s"; reg = <0x14d60000 0x100>; - dmas = <&pdma0 31 &pdma0 30>; + dmas = <&pdma0 31>, <&pdma0 30>; dma-names = "tx", "rx"; interrupts = ; clocks = <&cmu_peric CLK_PCLK_I2S1>, @@ -1811,7 +1811,7 @@ i2s0: i2s@11440000 { compatible = "samsung,exynos7-i2s"; reg = <0x11440000 0x100>; - dmas = <&adma 0 &adma 2>; + dmas = <&adma 0>, <&adma 2>; dma-names = "tx", "rx"; interrupts = ; #address-cells = <1>;