From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6726FC61DA4 for ; Fri, 27 Jan 2023 10:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SmiUN5YDrRW9uhhQZKGnAqi+Bl5+Eo7iYR9NOScG0/g=; b=W4EkvYf51yOd7q 2R6ijyVz6846ti+hmwPkCjEML/C7A/0PRjxdRUKO8Fen728d793DgHwfA5uO2Jb+qURie8jE0MDwN zvzTiAq0YeJDlo0fiHyyrKZLfL56uc+ptrpYJcbs+Vkp0SvdwCEXtOYyJCRu+6wiekA9LrKZCcBmn Yg15n0nBiy13KFJ/enowirs1L1UJoD+g1CDlezh7S+rT9UYDkgIi8CXaeh1w3rdogs9epzv70E9yW 6VWuNkbSrO5sXNotky0iOXOjPCUoF8Folt+xsna0VkC3fZsxMTq/vF9tvX1ykpuHekyyBc8sXiej5 /SikQglkFD5uhAZBZeAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLLe0-00DrTQ-Ub; Fri, 27 Jan 2023 10:07:41 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLLdL-00Dr9v-3o for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 10:07:00 +0000 Received: by mail-wm1-x331.google.com with SMTP id fl11-20020a05600c0b8b00b003daf72fc844so5062942wmb.0 for ; Fri, 27 Jan 2023 02:06:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DZGBWYBP+jLn9qax6QemUknci7LrD7dJVK21sk9z6Zg=; b=LAL0s+LA7HHaPIDhE3KYySG/4T3Z24RXZLU2sYBns9Tl6UFrj4rHlJ6IZPV+EmoqhF SiX3gtvDDRKTlhmTjiUHRuZZ2jlOsNimugdf5gsSK6wU44ZnlVvrvfzyKpN9ywNqe2sM ChzVu0JZf0OMG6yhXOwkaK//DCW0WVKsp9ziPbWzYBpF4L8CJlNpnNX36G6Na8plUiqj HOI/IqknRDBWHa4jjRQxThR9wzHyKww32bwK+Av7RQwtqxqVqlD9knOc+ZlxPrLNJ2RH iA4jx8SQ/d3ZEBXDrZWZPDZH668klHHrykwf45xgjtd2a+E2hS9v5MK8+mMv5BDMDJxJ iOLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DZGBWYBP+jLn9qax6QemUknci7LrD7dJVK21sk9z6Zg=; b=r4F2FDUfmX3Ap16NyWkzsVsUJ1NS5CGWMHOAkqTOHH/WdxyBGy+qoONGhEXQRwNbR0 ppL7LPSEg7WtiL0QRHGyQr7gKiJwH1OuJnlTnFQC2PeMJSFQEML7N7D9m/0i7Nbrak7F ZLze0l4+9burlyzzXcb6DnTnfoMSPdTan96G8AQppqhGKx0ZY3rdeUcEGnk5vUY8463A hW6Q3k0WGDyu1dmSX0k/FZfTO4kVdyVqkCURn8RBVQkTwhUAKY7XeTgR27vUGxuo8/K8 hRWMdGLG/PK/YZRyM/Obf70swDCv8Xx2IsgBERI27Fs4wf9WKhyrONOQ6RcX6rZ5L+b5 e4dw== X-Gm-Message-State: AFqh2kqGU0uYWvQ+xLn/0rjTswU5yj2vYa/QA+oahMeQq9Y188UjCw4v bKEejdfDlasSrYb0628bRGJ+UXVG9qHbizR1 X-Google-Smtp-Source: AMrXdXsE5NJCOFMShnnXwCTKJoJkEV4/fgpryTXXiLacJHvzUxSC7KVGt8Dsm33+mH4kLSD3wlKQbg== X-Received: by 2002:a05:600c:2284:b0:3d3:5c21:dd9d with SMTP id 4-20020a05600c228400b003d35c21dd9dmr39012065wmf.19.1674814010311; Fri, 27 Jan 2023 02:06:50 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h23-20020a05600c499700b003dab40f9eafsm3739043wmp.35.2023.01.27.02.06.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jan 2023 02:06:49 -0800 (PST) Message-ID: Date: Fri, 27 Jan 2023 11:06:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 4/4] arm64: dts: meson: add support for BananaPi M2-Pro Content-Language: en-US To: Christian Hewitt , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230127100236.3385154-1-christianshewitt@gmail.com> <20230127100236.3385154-5-christianshewitt@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230127100236.3385154-5-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_020659_256831_2140A914 X-CRM114-Status: GOOD ( 17.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 27/01/2023 11:02, Christian Hewitt wrote: > BPI-M2-PRO is based upon the BPI-M5 design except for a different > physical board layout and the following changes: > > - USB 3.0 ports reduced from 4x to 2x > - 3.5mm Combined CVBS/Audio Jack removed > - RTL8821BU WiFi/BT module (internal USB connected) > > Signed-off-by: Christian Hewitt > --- > arch/arm64/boot/dts/amlogic/Makefile | 1 + > .../dts/amlogic/meson-sm1-bananapi-m2-pro.dts | 98 +++++++++++++++++++ > 2 files changed, 99 insertions(+) > create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m2-pro.dts > > diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile > index 97b42e2100e0..644451794aca 100644 > --- a/arch/arm64/boot/dts/amlogic/Makefile > +++ b/arch/arm64/boot/dts/amlogic/Makefile > @@ -60,6 +60,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxm-wetek-core2.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-s4-s805x2-aq222.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-sm1-a95xf3-air-gbit.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-sm1-a95xf3-air.dtb > +dtb-$(CONFIG_ARCH_MESON) += meson-sm1-bananapi-m2-pro.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-sm1-bananapi-m5.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-sm1-h96-max.dtb > dtb-$(CONFIG_ARCH_MESON) += meson-sm1-khadas-vim3l.dtb > diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m2-pro.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m2-pro.dts > new file mode 100644 > index 000000000000..4890d5d9a4f7 > --- /dev/null > +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m2-pro.dts > @@ -0,0 +1,98 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2021 BayLibre SAS > + * Author: Neil Armstrong > + */ > + > +/dts-v1/; > + > +#include "meson-sm1-bananapi.dtsi" > +#include > + > +/ { > + compatible = "bananapi,bpi-m2-pro", "amlogic,sm1"; > + model = "Banana Pi BPI-M2-PRO"; > + > + sound { > + compatible = "amlogic,axg-sound-card"; > + model = "BPI-M2-PRO"; > + audio-aux-devs = <&tdmout_b>; > + audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", > + "TDMOUT_B IN 1", "FRDDR_B OUT 1", > + "TDMOUT_B IN 2", "FRDDR_C OUT 1", > + "TDM_B Playback", "TDMOUT_B OUT"; > + > + assigned-clocks = <&clkc CLKID_MPLL2>, > + <&clkc CLKID_MPLL0>, > + <&clkc CLKID_MPLL1>; > + assigned-clock-parents = <0>, <0>, <0>; > + assigned-clock-rates = <294912000>, > + <270950400>, > + <393216000>; > + status = "okay"; It's by default. Did any DTSI disable the sound node? Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel