From patchwork Fri Apr 12 12:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162117 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593359jan; Fri, 12 Apr 2019 05:52:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqy92mpcGd1qABoRz62HLKb87a/Yp7OZLSyiBsFBY9VM0oOZldTONfYlveWhHlk8Rv0qR6g1 X-Received: by 2002:a63:cf0d:: with SMTP id j13mr53138241pgg.34.1555073529882; Fri, 12 Apr 2019 05:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073529; cv=none; d=google.com; s=arc-20160816; b=YDx7LMzg6WaR3ZcWqhlyQBs3rXNsZ1XJhMuDnAV5z3iPgi+V/nsujHznQxGNtEYd2F XPcRnhDJzOomp3FLucdKVrxhq/D/jOzQjT6/P8tGpD5S4nPnTDOQV4CwM+2UXe/U5Ixq jQuUcGsQtZfhlvr1MNLS6g9hBZRkPRDKVEKK04OA6TWJsg5EzZizWzEmaBEkwHk+VJ6D HCFsYtt66QR6sIeogkHOl0i+e4rluwwTpnH+K4SEiW8YPt1dlzMhvz9+eEqBCv4jMKiF gvVO9uyddWuyqVcZMADb+wHsgl/OQDTlXkjIywLcKmsXE8jcbWoq5ZyGPn+e6hkLUz0y O/Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=qRx24DkOvl1q8LrDbu0mFJjjQ93Qremc8uIs20jVHvobMJn+7Ze8da8pYzeYFtaeRW uzb9bgxr0wyfMFhBFyRDOLmM8jAiYbWsR7aAkGu7wEVwnYBQIEBXIohH3Iu0khjfd1S5 u+Jmfu3SL+6YjAHNVWnAC/DZzhJzdYgaX0YsO9x6KeSJyj4kQEuW+Y4ORKx9V8tCyqql Kvbyr5QaYwZZRTM8II6AYrbNRP5NZzEUHozOXZA2D/6qxe1NqAG0oIhX4EwpEaXkiE2E gEi1V+7fSxNkLRMeVg+Jh40io9fAI+ttCJ5T0Lw6VONrKBXaudM0kr/PeUAVMRXcYxya /0Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wKIzkJkJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si11637872pgq.393.2019.04.12.05.52.09; Fri, 12 Apr 2019 05:52:09 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=wKIzkJkJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728681AbfDLMv6 (ORCPT + 31 others); Fri, 12 Apr 2019 08:51:58 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44043 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728415AbfDLMvu (ORCPT ); Fri, 12 Apr 2019 08:51:50 -0400 Received: by mail-wr1-f65.google.com with SMTP id y7so11771563wrn.11 for ; Fri, 12 Apr 2019 05:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=wKIzkJkJ1lUE+QbaeCtOMd1B8P8cFTBCdaIFNAXADJ+vHY3yVSwLaa4P+9ANa6hZ1W nwgZJnhZxPBXqBoUt7QgV6HeNNiNMdsHP3EDrxMj/PVqOpkdmYuKzpK1FYybttWQwLMX Yym2l14aXy7blpoLTzcdpiw9IowoFnPKmQkr/ICIipVRtRxC9QablDJr7rJqGsuVFnks bzuDNOPDFJ+TmKgy5MFoBF+uzUbiVCbO2KKov9ZDuRoXWpArUr4sBk4PoKXvgfSbF3ws m7MZl6FF1WVf6t3ur/pPsaozmHw+wmTWXox0jwMIYPfkEbw/Hubs1FZ3r+W5CaRMSH4O YZMQ== 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:mime-version:content-transfer-encoding; bh=pD/ha1o6xuuVhzSZWIPaFNtC4/6La9+pE80liTrfGdE=; b=fQpyYcNkGhyG3pLhg4eDl79acNUPiThJjbOTA4/CGoD0b5aXAUnOOSzjbCy2cEk6Qj FVmIFQ2rDa5ODNl7PKyfJIWSlFP/HMmv7fqpOGw2F0bn4TSFjlrXhMt++U55FP19n03z HvVoBqoLP7zW8OsWSbMu9UyiRX0J2BYrScpKLHpp6pYXnFBxaW++f5xzHrLqmBzckyQZ WhMHAXw8MUIYy34LKwdmoPou1XBYuu6ex7dfc07VxNt4WAeXHedL/BgecKw9sA9a1Qj/ IUEbywmMmVXaSFdHf13hMHvj8GpLDMOcO98jORWLHx6NfgCF5sMBhASY5zCqaAFWa8P+ PVZg== X-Gm-Message-State: APjAAAWgPyZYxh3lKDwpphEczj5IXTwoqnopA+cZgZ7bljv/SOoxvZ7v WRPoDlCU/J/CUH8gWTcROCWuSw== X-Received: by 2002:adf:e9c1:: with SMTP id l1mr26023039wrn.270.1555073508457; Fri, 12 Apr 2019 05:51:48 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:47 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 1/7] arm64: dts: meson: g12a: add audio clock controller Date: Fri, 12 Apr 2019 14:51:30 +0200 Message-Id: <20190412125136.28232-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the controller dedicated to audio clocks found on the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index d6ca0bbd8f74..1ab2a77b01eb 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -7,6 +7,7 @@ #include #include #include +#include / { compatible = "amlogic,g12a"; @@ -202,6 +203,42 @@ }; }; }; + + audio: bus@42000 { + compatible = "simple-bus"; + reg = <0x0 0x42000 0x0 0x2000>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>; + + clkc_audio: clock-controller@0 { + status = "disabled"; + compatible = "amlogic,g12a-audio-clkc"; + reg = <0x0 0x0 0x0 0xb4>; + #clock-cells = <1>; + + clocks = <&clkc CLKID_AUDIO>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>, + <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL3>, + <&clkc CLKID_HIFI_PLL>, + <&clkc CLKID_FCLK_DIV3>, + <&clkc CLKID_FCLK_DIV4>, + <&clkc CLKID_GP0_PLL>; + clock-names = "pclk", + "mst_in0", + "mst_in1", + "mst_in2", + "mst_in3", + "mst_in4", + "mst_in5", + "mst_in6", + "mst_in7"; + + resets = <&reset RESET_AUDIO>; + }; + }; }; aobus: bus@ff800000 { From patchwork Fri Apr 12 12:51:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162114 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593102jan; Fri, 12 Apr 2019 05:51:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzotYvydIlVlV23gppWfYilZqV3Kmo5IeisDbWxdksD1F3TIOLr2ZqYgmKVlJnOtHdF8pCE X-Received: by 2002:a17:902:d68d:: with SMTP id v13mr57442945ply.55.1555073516385; Fri, 12 Apr 2019 05:51:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073516; cv=none; d=google.com; s=arc-20160816; b=m2h6cqxRj0sREa1vlqDiJxfJ8U0nv9ZBhn7jYHSvG+QabniDP1E3wVvwMaRujssU6d Tm/Y9n2GFiVDesIVtEjS5ymWmZcLUeZdZWhraj8U38EByJyb/MSKM/eAPBAq56+oqj7Y 2uzrIYmNAjagZnthT0Xup3m59pNnXnl/cwN3QuILTlN95T6fD7MaGhKnhQSnsykuxdxY 9w30VkeAoSBVVtTQHM/AMDWwyNINU6MlMH9SPBE9zScapfBwRScJH9bgxvc9gtgeVoTj XSapPwo+U9q0Fd5QqA9zbOUsHW3o9KBaW1Yma62wVrepmgO0cDrERE6sVjtD5I9WdnjM rqMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LyEpL17LgBNZeGjq/1bCg8MXLn3ABQcKDag1wbyqyFQ=; b=Qy6z/3/T5WaprCSVQBO/3SoeNqA6rwlo22jO9cOVQzhZhKUedI1jucyb2Dp1gWibjA nnZPt4AsF/rpzHQPbs5TazgCwV/qWB8s5hE+BpBEgrYKB8f8YR5uxbkXzaBfVLvSqUMf 6RpVyZTZ04974RtBX7cNebLqurjSMYFHzHFQujIXcJOIbtTbCIHhu25DhhFaqbxzUNKF LPJ6FvAbocmJmEZhLsuRy7xmwdmZcNcx4KG42sfjUCa0nI538gxQu4xvOt58fBlmlFOW mvONVQFQXqGKrXvjxtw8TfZgGPcJJYBQZobesZc+zYd3ONPbNcbQzW+jJ8fzqKC73i2G cDxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=L6sPYtYc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si21698071plk.328.2019.04.12.05.51.56; Fri, 12 Apr 2019 05:51:56 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=L6sPYtYc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728526AbfDLMvy (ORCPT + 31 others); Fri, 12 Apr 2019 08:51:54 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33626 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbfDLMvw (ORCPT ); Fri, 12 Apr 2019 08:51:52 -0400 Received: by mail-wm1-f66.google.com with SMTP id z6so407013wmi.0 for ; Fri, 12 Apr 2019 05:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LyEpL17LgBNZeGjq/1bCg8MXLn3ABQcKDag1wbyqyFQ=; b=L6sPYtYcW2TpMtcF2CXTtyvSfab1PYutcI+IRWV06fe/fHjYd0kO0dxeElOFb2HO7M M6tYMDXWM7Dar2FshOm/ezWzIGBkkF6g6nZL3TGqRxXdHaNUsIInSwDhGCd4pWB4Uuo+ 9vtTQIVxtgM+GV9oM0/tNDr7s4wbqI0uuGQoeofInM/rBk6JURzCQrpvne96slZzyEcZ MH4Y2NARyZNHUryKkctOwDoKGbQO3QdxgAD5o0JTQZHgeRKRoDOMl4U7PPihKtBKUOQp msGVbJhN3qHOAonr7O0q3Zpik/HmJfuTlyEzi0MJL02uOA72cX0KCUYJPxt8BCmbP0l6 i80w== 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:mime-version:content-transfer-encoding; bh=LyEpL17LgBNZeGjq/1bCg8MXLn3ABQcKDag1wbyqyFQ=; b=GZ26yftS42rpWrE4ay/nzO+7I6lBuX5UpUbNQI3PbJXOV14iEIEVPDW+FGfwV+9NcR 7lKWURTzsl5iA4UgizOZnioEydGQdndHKsvIywyzRx8ycVqNgzBRXRufeZzp2EEch+5h KmFGGLPmrutGDyuvYAR00vZflfvplhwOWVMlAflu56UQHf4twT7vxX9fK8rHcQjxDZOx kjiDNtMApKMxjAz9dFaAjmoTDm3PHxVOd5Z0wfuhB+28CFB0akCZmeXd30Tku9RzhYpJ yNQ3cCQqRmonH9l5KHxQ0LUlHzYL9KhiklBiU6ePhdsFP0HoHyq0i8d6T4QEnAUtXMbM L11A== X-Gm-Message-State: APjAAAU0O/MK8r57B88EEc+EIcxpjzX4HfWl5rbD6M5zblhQ3883kdnX 5GR7utegr6SGz/ebe/Qdck1d3A== X-Received: by 2002:a1c:bd8b:: with SMTP id n133mr11154540wmf.73.1555073510078; Fri, 12 Apr 2019 05:51:50 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:49 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 2/7] arm64: dts: meson: g12a: add audio memory arbitrer Date: Fri, 12 Apr 2019 14:51:31 +0200 Message-Id: <20190412125136.28232-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the DDR memory arbitrer dedicated to audio subsystem of the g12a Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 1ab2a77b01eb..b2acece1b66b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -238,6 +239,14 @@ resets = <&reset RESET_AUDIO>; }; + + arb: reset-controller@280 { + status = "disabled"; + compatible = "amlogic,meson-axg-audio-arb"; + reg = <0x0 0x280 0x0 0x4>; + #reset-cells = <1>; + clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; + }; }; }; From patchwork Fri Apr 12 12:51:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162119 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593559jan; Fri, 12 Apr 2019 05:52:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqySowzeaLS/oWXG1gw+nNllilBs96eThqM48q7A7dBKV0c/4n0y8g2LvYs0c/yLZ4B1UNJZ X-Received: by 2002:a63:79c3:: with SMTP id u186mr51584308pgc.20.1555073540101; Fri, 12 Apr 2019 05:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073540; cv=none; d=google.com; s=arc-20160816; b=msAZeGu5DvRdLsCP5LDTG1gaYmNZ98B9c22OfVCxCHsb85dKqJrF8FC4CCj6hC9fPm qR+87b3dkci0OuI9PrtAk0AQ9xYozz3cIEqR8ZfqQUvRn9Q5gMB3zAa87INihO8vaiUu UB+lgs/gPN3GI2oVI67IUNvEgNVvvSqk60A5N5FdqqjF7WAe+N4fiFi6o4S3CY9emEmr w1TYgV/310clp4NNc3slQ/VIBHsLlwNsaCgk7UZH8uZIQS0RdRHDTSmu3jC2IsnIAEvh Eux8xAnnhTsyAUe6c9wOrcGHaZdaex4wsr8wBh/p1kmMaeyUugsxGR5vG5B7Krh2CYzr zUOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qQKSrAozsbENhTZ6S3OHU0SyNZNFyQXAXzXFR3IFJvY=; b=W5zTIExM18Hi0otgEabSLccsWIkij7MV50vOacHUwciNk9hGbn+hC5ejnjiWv1Wuym gLE5NhnvBiBWFBcccbzlPxD+JUi5L0g0kzv7dhtUYPc7BIgMvkQbFxiAbW+uTpfvTaqh Dykulqcu+dq8fsNAgXDftYUtStk54pUjXFVw1vCyOUM/6prpfrKLEd+k317NWcNWRzyA 0y8s/KsALhexuo4jN3Jutcf6pKMNCIowv7dCnDh5ox/vnc49egwUXt06cTppjzSQdvGg +FaqdvW26YT6NtFvc59iaqq67N1QbRPB+FH7neUsOJMYlG8MYM+s2J2JNTzGifInPxC7 GXkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zODMANuH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12si37164182pgm.191.2019.04.12.05.52.19; Fri, 12 Apr 2019 05:52:20 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=zODMANuH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728748AbfDLMwS (ORCPT + 31 others); Fri, 12 Apr 2019 08:52:18 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33635 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728565AbfDLMvz (ORCPT ); Fri, 12 Apr 2019 08:51:55 -0400 Received: by mail-wm1-f66.google.com with SMTP id z6so407167wmi.0 for ; Fri, 12 Apr 2019 05:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qQKSrAozsbENhTZ6S3OHU0SyNZNFyQXAXzXFR3IFJvY=; b=zODMANuHrceM7wVHJE1vYFLTNr4tuxlssv2rouQOifD9bLvX1ZXzxzDmzsaD0Zy0U5 Rmd7jINYyED5FmMxdgNczZ6joC2jK22/cvSA8lLoUpqRd+FScNHLsYvtZU9n7AuiJOmU f9zts3GarrHiDbFJ9pyD6B1Zq4uS6N/uWzmo00xwacZvE1vUcaN+4cHaJFf+eQAkVeHB qz8B25m3GEOf27QFBamfbp2ZZ3AAJ8oE+kMWQEQcQ9bPIwgSF5mlTWiokqt4yhHH0Dil xxMIIbqDMtBGpelPDz85bWV03Sphv/3/pvM6iE9ifXJcqlMC2f6on+3HnhG2AvSopxmV nXlg== 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:mime-version:content-transfer-encoding; bh=qQKSrAozsbENhTZ6S3OHU0SyNZNFyQXAXzXFR3IFJvY=; b=mKIvI9N9yT9acpIfe5BmMsWDN06zG5gomjyUDqLp4V1ri9Eu2oXxZ1okLaCnbAWq+3 aocbE1yMIIRDBzNCsmtl2jgxqe1tX2SmzGsHPXUe6cZoahRlL+H3UYWF2pqS7gW3/+3o mAj1jhX56EBMh4ydGAEVhxUBnRAD04bzi0IKVg2Y36Kr7tSTSVzguybxOCDlv9RytDRH RcnZUXmlmubF1WI8TOLH7BD79kzv/RTAYYmlsslgDZGwWngLrgGPpumsVydbFvTCAxZN OGuYcUKjVd0d2fjfuc7vsAarYP0AL9LUQtHjrZuR9tSJUgWkosPzWV8xHvcIx/EgtP1a KkHA== X-Gm-Message-State: APjAAAUTfpyKzpsJdlnKj+PRS0GrGSF+Vjdzn/1rebF2Uco1AdtO9at7 yFKIde13RntTVvynAaYIEwS9NA== X-Received: by 2002:a05:600c:2055:: with SMTP id p21mr10342654wmg.118.1555073513423; Fri, 12 Apr 2019 05:51:53 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:52 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 4/7] arm64: dts: meson: g12a: add tdm devices Date: Fri, 12 Apr 2019 14:51:33 +0200 Message-Id: <20190412125136.28232-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the tdm encoders, decoders and interfaces devices of the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 135 ++++++++++++++++++++ 1 file changed, 135 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 18f7d5af7dae..5f5b8c67df49 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -18,6 +18,39 @@ #address-cells = <2>; #size-cells = <2>; + tdmif_a: audio-controller-0 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_A"; + clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, + <&clkc_audio AUD_CLKID_MST_A_SCLK>, + <&clkc_audio AUD_CLKID_MST_A_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_b: audio-controller-1 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_B"; + clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, + <&clkc_audio AUD_CLKID_MST_B_SCLK>, + <&clkc_audio AUD_CLKID_MST_B_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + + tdmif_c: audio-controller-2 { + compatible = "amlogic,axg-tdm-iface"; + #sound-dai-cells = <0>; + sound-name-prefix = "TDM_C"; + clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, + <&clkc_audio AUD_CLKID_MST_C_SCLK>, + <&clkc_audio AUD_CLKID_MST_C_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + cpus { #address-cells = <0x2>; #size-cells = <0x0>; @@ -320,6 +353,108 @@ #reset-cells = <1>; clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; }; + + tdmin_a: audio-controller@300 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x300 0x0 0x40>; + sound-name-prefix = "TDMIN_A"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_b: audio-controller@340 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x340 0x0 0x40>; + sound-name-prefix = "TDMIN_B"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_c: audio-controller@380 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x380 0x0 0x40>; + sound-name-prefix = "TDMIN_C"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmin_lb: audio-controller@3c0 { + compatible = "amlogic,g12a-tdmin", + "amlogic,axg-tdmin"; + reg = <0x0 0x3c0 0x0 0x40>; + sound-name-prefix = "TDMIN_LB"; + clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, + <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_a: audio-controller@500 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x500 0x0 0x40>; + sound-name-prefix = "TDMOUT_A"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_b: audio-controller@540 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x540 0x0 0x40>; + sound-name-prefix = "TDMOUT_B"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; + + tdmout_c: audio-controller@580 { + compatible = "amlogic,g12a-tdmout"; + reg = <0x0 0x580 0x0 0x40>; + sound-name-prefix = "TDMOUT_C"; + clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, + <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; + clock-names = "pclk", "sclk", "sclk_sel", + "lrclk", "lrclk_sel"; + status = "disabled"; + }; }; }; From patchwork Fri Apr 12 12:51:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162115 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593196jan; Fri, 12 Apr 2019 05:52:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4p0njpG19bXNL9m4kM0GiBU+vVbzUX1BZ+ATh11rA0nQ3WxjpUhs8epxOaCGsOQNl4EdF X-Received: by 2002:a63:2ec6:: with SMTP id u189mr27960740pgu.170.1555073521172; Fri, 12 Apr 2019 05:52:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073521; cv=none; d=google.com; s=arc-20160816; b=O3cdYU0j2SGsCV67eIjEL7wcj6ZFVECMrPyyezdsyAzcpqqknb4hwhO0oJ2oUX8tSm DEsgQ1fw3+I0RAOtfuRaUXGj5wi8MtB8lvjsvGH1J76X/ueZUeviv70JG8oO8g8GjeOr Ar76cwauRNe27rL1NF+cM+UDJoTWwEkaYWSKsLx+D3jSQXWEIoLMN/Mk5Fa79eOaE/Kt Y43BJepPX7IIvHMDbxJ2ZhkF3QImLpmbRaYlzeC8/t2B2WKRNXOOFnNbFMcEOAtdz4yZ QdVkMVcFgfQ6Po+qyYtmQHRiJRwFeFDwDKfbxxkkZZmQTZliiRzpTKNBIR5+Khzmqg0f oMOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=NMJdeKKGAkFnsYdd5tpuZkwaO5kdth3pAK39WH3eskTlSrFCT4ulVsL3mO43IijHBb jiGkXhWXfx5kN5HNk+7o/Zj3F7kB5XBeuzHxvmnjfviNVyiHwQZjaWZHbqWyW8Tih3o8 RfTIs5N8dMhp/5xsTuOzlr6BIhG0SxFaK5CjM0Sd/gTEKRjcTe33Z+VkRuSJRDyRJDtb 1saflh6ZyV8n+5Lt96rCL1R5JCwXPcHwE3Z3F7SPi3tZa+hg6PF+COIqu8q+QqkDqeQS YhMGCSYS7MbfFHcTsvz4Sw1LvvdIKEhNJHqMWdR/0uh6N6xZKNyzI1by4m1b4ZOuNadW wT8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LUsrQuhy; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d125si8198728pgc.197.2019.04.12.05.52.00; Fri, 12 Apr 2019 05:52:01 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LUsrQuhy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728706AbfDLMv7 (ORCPT + 31 others); Fri, 12 Apr 2019 08:51:59 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52061 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728658AbfDLMv5 (ORCPT ); Fri, 12 Apr 2019 08:51:57 -0400 Received: by mail-wm1-f68.google.com with SMTP id 4so11096936wmf.1 for ; Fri, 12 Apr 2019 05:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=LUsrQuhyPX+sl/sci8Wxo10d+c5z2DVx3f3EnZ074fFT0jH7dLmqYugHEzwuwt4/L2 UvGo6eC9cVmNy0bGM4OI36yNDLbAxOf8W0idOaWJox4mZ8YGIFCilpqqNZlN0rUKGY3f 9PV4Aszv7H+uHYx0b45aNekCsrtXScFsXctc/CXoranGBWfc+/VhQGFhImQ756rNXZfd 8Zdd2LDOS9lin8FztiZny6CeG/ACB8APOdQeH1m4X0I9k986bC3eVP3OCqZotiCrKOZw uwSaxXrEU5t9yXSNT+ZFGViQq/woq3KNGK6Wr4jh4Blg/Wy8V9/7R2mMdyn2CAubtP3C a+NQ== 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:mime-version:content-transfer-encoding; bh=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=Q4yyQOIxRT/IVlN9Y4RYlDoYjBNFOfdwPXcerxsh19y4MO8hcMWYfTEjPakxcYqatN smb6MxLb3txw7zuAwcFij96bBN/QEGcsYHMwbvn33aA3KREAl2p6j3p0gOUO5zxb+hmi bxn21Loho9HvJGGN5oTk3SQ+Nis3pKjfXSSKPkLV6YmREP6uMLoCJCQ5pjVvMHOfItMB JEWuROx54x2O+vYLAvjnVTz37RndHUnuRlZgjV/qX8UkQuKlHB+0y5oaxtMzW+9eLY3v LAU9Rvmwoc2ku6FNluu6KluNAfXFFWNSmVljCw2/jz1yiPezKucMgeCTTk05gNhek6Ae pF3A== X-Gm-Message-State: APjAAAUtJV1bYl/vgwTjBSGuAiXcLVlPp2maBFJFR50fo6vwUYT7/bKV 3GdTp+Tq/3weMBdCfQgoIyTVQw+gEpA= X-Received: by 2002:a1c:e90f:: with SMTP id q15mr10691902wmc.1.1555073515021; Fri, 12 Apr 2019 05:51:55 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:54 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 5/7] arm64: dts: meson: g12a: add spdifouts Date: Fri, 12 Apr 2019 14:51:34 +0200 Message-Id: <20190412125136.28232-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the spdif output devices of the g12a SoCs. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 5f5b8c67df49..90b23bacd51c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -414,6 +414,18 @@ status = "disabled"; }; + spdifout: audio-controller@480 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; + tdmout_a: audio-controller@500 { compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x500 0x0 0x40>; @@ -455,6 +467,18 @@ "lrclk", "lrclk_sel"; status = "disabled"; }; + + spdifout_b: audio-controller@680 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x680 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT_B"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>, + <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; }; }; From patchwork Fri Apr 12 12:51:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162118 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593420jan; Fri, 12 Apr 2019 05:52:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQ7rTCeoCu96W+NBfbpZj3gyv4FkhxnZ2JAzt/pzNkdHg0tf20Ns7989YZcfif/1Xi9obW X-Received: by 2002:a17:902:2702:: with SMTP id c2mr38061700plb.37.1555073532421; Fri, 12 Apr 2019 05:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073532; cv=none; d=google.com; s=arc-20160816; b=jamDHQ67I3mA7UCVQ+++mjINmF7v32IlSTZ5LKp7+4DLc0pxXD3tVa1oHbd4iJhF4z nAnwCBeFQBb3aSQcguHZYHDX8S/VkrjlouFXtmnrYzFn6XB/AApX1vSyDMlxuB63jAqN EjLwHGD1rnz82O1zyiV5hxrLMBy1LBfPkyGetjxsKlv5B0NfYcTRk5V7U413IaOKo2jY 1UBrbYVn8zu3hWnEY3FQ0SAcmW96Ko82pcP1Es04YRU7tlksgOk3Gz8jodxDAuAfLSmz o0tCLaSV4idLeT2GQIQmow9vLo4IYrvdbwU+Rw5xVwh9A+2JF2rOIRNrNjurmPPrQwoy vsZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=gJXAxUgU9pW3qMLqEGxof9tt6Px4rHfXqgdhJv9rOoUZ6isq4ACwaaN0YrGXHTzGqv P0BLTRT8NP7Po12rooZc8ytqv4NELKpRthWYs1m2iyaHwmfj9oQEZS5zddRb/ctlI5f9 4b4yLZK4TUGf2cFW8ocWwjWzjN8R7Ox1Fw3ZlB5KWGg9Bd92MOsyzMzsgwUSzsAz5DPb mglL8rt8zcLPn+k6iOs7FhGcLsefSOhcO3jRoOclkoaUwPh/0dEPk/33wgghEeZQClc5 lcMaO19v85M6Bd7uc8la5BuulNc5JHE2OauIB+3WlpPgsjR9mLspREEpoQ8S1oHWze1Y MHAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=aJds8UMc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si11637872pgq.393.2019.04.12.05.52.12; Fri, 12 Apr 2019 05:52:12 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=aJds8UMc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728737AbfDLMwK (ORCPT + 31 others); Fri, 12 Apr 2019 08:52:10 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41737 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727253AbfDLMv7 (ORCPT ); Fri, 12 Apr 2019 08:51:59 -0400 Received: by mail-wr1-f66.google.com with SMTP id r4so11766281wrq.8 for ; Fri, 12 Apr 2019 05:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=aJds8UMcq31d/Jx5oG4bxxbazE5RXiMDjt3rTmBGHiVfuQDP6Rhy8Q9ktE1tmXMy95 2ASHaq16IpPYzOX6eC8DQjsRKzgBv17pLfY1Jpj01DP42R2W/qH30mTwLP/Ux4jsC1Ks M3fNdqTfGnkcw1b+TMILwgeZBCQr3z8w5J8c1+TAbrnONrH6YtIvcWeSsy1hhwKWMPyQ GPh0yhZNruBRKXpceq0FHZ7xWtYkvB6muNijT7RQACKvJYrVO0zZgmyBY03JJBUBLiS7 QUJQTAjtnmD6RWQvGGJzJc/gxjybHw5+loDfhqP9NKeexK2M2NV+Qi8rsT/DxAyMQNKc hAQg== 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:mime-version:content-transfer-encoding; bh=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=jFinfOCfbFRN8jQFYcihTTllm2xlYKF4pwSzhQy3C5im+m5rBRRX/BSOD5JC6OJNeA NhvNIQ+MSWNHMgfB1HSjHdRQLHqU3jku6oCqG0PwAM8/ZS1RceeEXVh5HCrJYscgVoNg dy+rbRkf7RM2sKbgTuXSgPai/KU1b8en9D/C9opySTiwQqrSNgzNamFwocy1FAmTyzh/ UDQrXKyIdOEjPcVNiWUqnylH63bkssjHR3Jok+Qnw00wam7geV77yp/F7T5dSSHWCMps 20davM5dVl04TGuU592CtuQsmj4azRjMNqayOZRP7OZ2HuQIY7U2hYn8xPraYZZfRjmz BPig== X-Gm-Message-State: APjAAAVmVml4kYQlNSOBzLK/I2kGwwnVttdlI1H24DSGUed33p4uJfYt HBKnHdpYjnoroKWTO0l6ApQIsQ== X-Received: by 2002:adf:e510:: with SMTP id j16mr37111086wrm.259.1555073516421; Fri, 12 Apr 2019 05:51:56 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 6/7] arm64: dts: meson: g12a: add pdm Date: Fri, 12 Apr 2019 14:51:35 +0200 Message-Id: <20190412125136.28232-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the PDM audio capture device of the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 90b23bacd51c..ab46b2b0fb86 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -239,6 +239,19 @@ }; }; + pdm: audio-controller@40000 { + compatible = "amlogic,g12a-pdm", + "amlogic,axg-pdm"; + reg = <0x0 0x40000 0x0 0x34>; + #sound-dai-cells = <0>; + sound-name-prefix = "PDM"; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; + status = "disabled"; + }; + audio: bus@42000 { compatible = "simple-bus"; reg = <0x0 0x42000 0x0 0x2000>; From patchwork Fri Apr 12 12:51:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 162116 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp593260jan; Fri, 12 Apr 2019 05:52:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyy3SPtc1uOGDrLV/G5L2TZhY72E+QJ792UT4LMHj3D33DUlMKIpVKVfIZ8zV1jqGMO+CcB X-Received: by 2002:a63:e556:: with SMTP id z22mr51811535pgj.290.1555073524499; Fri, 12 Apr 2019 05:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555073524; cv=none; d=google.com; s=arc-20160816; b=Y4cEAqsitlql5SzTHtvnCMx1VVIDBCNtX057FZIVGNSy3ndMBibPjlaKcNtx1xblrf USUZITlrdW42eOOlkpf7L8wBt6VQ9a3y9To+cE1xiR5i8Hf7Zu/hmoWzjggdg+3ozMsr q/AE0CNYRIGb7QEAd3tLkcGqqQ3S2NF3PvLaC2b3ptRhus1F/l8G7Ba/YtFbXv0lTNWg XnwSZJwHM/BR/3eP6fxO/QQdpRnlqTqZfL3LBzdzEMyUU9eAP8sxcOSOa4NGViXLY3y6 cqwSsVhjRLtXJvr9ObpXh7Jr9U3jCuTSWxKM2pAPmDbQVAAUl4eefcoasrIIUIr2Ltzw dgEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S2XgHdka99JxAH5bHt7QNVLYXwa4NYXicHBYGQh/K/U=; b=m6x2LCJN+JkYjNOtYOEXe1C4zOK4Pbf0NBlNZVNYA4b/xWKnlIl28J8YLQ5JEDwd4C Dw42OA8Uayu16hwzHLdJJ0KMTO4NwYd78fDlWW8RSlAh8A4fKzzsjBu2KzNoImvxe6oC vPBLgz6DJNASZpQon05tvDOOIV8A3QkGEuiLczfWR+rYNZCEQh3szfdUv7pgaiCCH3qq KBmBERtHDpX8A0J13AJ0aKqehHt1xg/NBYHLK1hC0cudXH2S/5crD4N7aVBBlwIozkhI xSGpvxTPNxNM447zDntBGe00MXtZjeAdA5EU0DhAlrB/k6Mx4tzMN9pAZnmmB9EjaiI1 MvTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LoYp4Hfs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d125si8198728pgc.197.2019.04.12.05.52.04; Fri, 12 Apr 2019 05:52:04 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=LoYp4Hfs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728723AbfDLMwD (ORCPT + 31 others); Fri, 12 Apr 2019 08:52:03 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:33938 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728674AbfDLMv7 (ORCPT ); Fri, 12 Apr 2019 08:51:59 -0400 Received: by mail-wm1-f65.google.com with SMTP id r186so403182wmf.1 for ; Fri, 12 Apr 2019 05:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S2XgHdka99JxAH5bHt7QNVLYXwa4NYXicHBYGQh/K/U=; b=LoYp4HfsTJ5FffilToBeq3hf38rheo1/X2SZYNC8RiUZL8PK2c0mOJmHVO8WRJWkG7 9EAjSSQy74qy8kNTNCnt+CuLOeEW/pPXOMN5n62xB1jw13CIsRU6qDbN1AZ2cA7M0L+6 7X5KJqZpKJIu408rWW2j8viRuP/UDOJo7mHIn3SQHUo2J/brKcceEChlaTe5SDyx5/+s 9cBMjfMOYMh/g35TNOl7qlB7QVadE2uhABLgY690wECOobMkVdHHxg9wTMCBcWTBsW39 t8s5VLeFhEn+QT0oodLAIdnYQXMmi4SDOzmyQUGnB0dQ0ZL748fAPGIf+dNvIo0+6J5Y T75w== 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:mime-version:content-transfer-encoding; bh=S2XgHdka99JxAH5bHt7QNVLYXwa4NYXicHBYGQh/K/U=; b=RbT8GeVn8IfgKNLONTa+GeRYWp/t8Yjn+iukuoW4lDNeKjdBwUqgwbcdIdyXRXSKDQ vD4a6xqVqB7A4i2vytlGRuJ34wiM+knJGn0RK9hEIlPAa4K1QsvXC4LNgyifBOSZ1pCY +M87TO8AvYKM+NaV3EgqC1w9aIaPgoSBaaSCYa1EWDdEIaLm0x4jKgSQ9tmYIr+P3GVE O+zVOnGlgUFvRDUuRL4N3Ojbli6jtG3IwhKsTJ2Chj57mI8jf9zX0ZPiigO1f2NrB1E0 fTHsZp/zgKfRMV4phMYeEB5QdVY/ntPWZ8khwH5BKWyjseAkedKy4JBmc4NZeZMBHeCp bEOA== X-Gm-Message-State: APjAAAX6yCpfE5BEdYXeE9VD/UV3boBOwBMmHWg0i2wczk6FUpOS27ri wvylZn9Q7S9z335YzIZuktnPCg== X-Received: by 2002:a7b:c5ce:: with SMTP id n14mr11375013wmk.18.1555073517956; Fri, 12 Apr 2019 05:51:57 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:57 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH 7/7] arm64: dts: meson: g12a: add spdifin Date: Fri, 12 Apr 2019 14:51:36 +0200 Message-Id: <20190412125136.28232-8-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the spdif input device of the g12a SoC Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index ab46b2b0fb86..41419ff74be7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -427,6 +427,19 @@ status = "disabled"; }; + spdifin: audio-controller@400 { + compatible = "amlogic,g12a-spdifin", + "amlogic,axg-spdifin"; + reg = <0x0 0x400 0x0 0x30>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFIN"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; + status = "disabled"; + }; + spdifout: audio-controller@480 { compatible = "amlogic,g12a-spdifout", "amlogic,axg-spdifout";