From patchwork Mon Apr 24 12:34:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Shubin X-Patchwork-Id: 86955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2637257vqo; Mon, 24 Apr 2023 03:22:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bhov9NueIIT6wO2ooiSWp50olaBEgmLJw0IILHFKrS90p1pp7alVGyfEw/GJY6chfP8cWs X-Received: by 2002:a05:6a20:8683:b0:ef:e017:c60f with SMTP id k3-20020a056a20868300b000efe017c60fmr13304682pze.51.1682331752552; Mon, 24 Apr 2023 03:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682331752; cv=none; d=google.com; s=arc-20160816; b=VEpilv7p14Pi95JxeASlJB3NGieD+ZDfJF9UqoTC6ntonlhAIKRjtGM5pPnWVv6BOR LP+j8WggRf7zwx2VH+aOxe2aEznICZ2QdZGylyiEpqYZQtDewrmBwhgrZnjNvJ61GqPj Ryhy5U6G/tnB5QNiFmO3iA6LOQXUgdzHhSZ9fs7g35ZxLid9V8bdB207367asNpyBnv2 0rtmDeYhdLIfLnHcRfqc1/ldjiyPZsFuahb9g+/QlPi6d2q8r2KTp6R9AMSpw3NvMGkD TIcrfGXeUz+5LVAB9/2U/KiYzD0Bb4psnsCwhK80lPqGnMzSgqf3YbMTP1S8wuO1DIry T7Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=y7dJz8FU5tfDpAY0eGkdfYiaw3POjVAiEmGtpiD+K7I=; b=GIFRoEy8Q4aRBQMuOLHnH2aq/rlPrVKG1kRXySxZ3zY9VzRORKb1FiJjx5hNcXwyoa 39drXlpNgxIoywOZWFH7F6RW06Mp8xfCIg0mwP5lQ82x47uricSp5lgsSpVWBh8x/j79 tcUv9VqnAm9q0HBHTryJUpNGaCaF11aV+Rznx3yULtk1AkzKgSxcqOufandutAXyZrgp I9XZiwHGTVaUhLmEr4pEobSAGSaHfuH0KHtYavLRR8b7YVFPtsI/YsnGzBfvIcMYaJgW VDFbRYURnaqWwJNJrnMWjmmiy4/5MWKYk5G1nBuBheHfVDscOd14J1JxJJeMF40qiDJa RlMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=Ae86ylug; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h70-20020a638349000000b005254580c66bsi3663671pge.231.2023.04.24.03.22.20; Mon, 24 Apr 2023 03:22:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@maquefel.me header.s=mail header.b=Ae86ylug; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231177AbjDXKVR (ORCPT + 99 others); Mon, 24 Apr 2023 06:21:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbjDXKUo (ORCPT ); Mon, 24 Apr 2023 06:20:44 -0400 Received: from forward501c.mail.yandex.net (forward501c.mail.yandex.net [IPv6:2a02:6b8:c03:500:1:45:d181:d501]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 269D410DF; Mon, 24 Apr 2023 03:20:43 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:261e:0:640:2e3d:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 641195EE19; Mon, 24 Apr 2023 12:36:15 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id JZBb1pbWwKo0-0lLAHDCF; Mon, 24 Apr 2023 12:36:15 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1682328975; bh=y7dJz8FU5tfDpAY0eGkdfYiaw3POjVAiEmGtpiD+K7I=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=Ae86ylug5zIP3hrqEdZs5fOAVjGiBypkdvvpF4FHzEtH9iXURaoDa3LdB24TVjF7E +3deRQCYHVhJToNXFf0ggLVnnC/6MlF+r0MIwzC6gBvEsZzxznAtSSVKpqqIO/Xe63 K4jCreeWzt7KixBS7FSWpitBsQRv0urcUgaqbGjY= Authentication-Results: mail-nwsmtp-smtp-production-main-39.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me From: Nikita Shubin Cc: Arnd Bergmann , Linus Walleij , Alexander Sverdlin , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 41/43] ARM: dts: ep93xx: Add I2S and AC97 nodes Date: Mon, 24 Apr 2023 15:34:57 +0300 Message-Id: <20230424123522.18302-42-nikita.shubin@maquefel.me> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230424123522.18302-1-nikita.shubin@maquefel.me> References: <20230424123522.18302-1-nikita.shubin@maquefel.me> MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764052699663670577?= X-GMAIL-MSGID: =?utf-8?q?1764052699663670577?= From: Alexander Sverdlin Add the audio interfaces present in EP93xx SoCs. Signed-off-by: Alexander Sverdlin Signed-off-by: Nikita Shubin --- arch/arm/boot/dts/ep93xx.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/ep93xx.dtsi b/arch/arm/boot/dts/ep93xx.dtsi index d896bdcc6b10..bba5fa753176 100644 --- a/arch/arm/boot/dts/ep93xx.dtsi +++ b/arch/arm/boot/dts/ep93xx.dtsi @@ -174,6 +174,19 @@ dma1: dma-controller@80000100 { interrupts = <17>, <18>; }; + i2s: i2s@80820000 { + compatible = "cirrus,ep9301-i2s"; + #sound-dai-cells = <0>; + reg = <0x80820000 0x100>; + interrupt-parent = <&vic1>; + interrupts = <28>; + clocks = <&syscon EP93XX_CLK_I2S_MCLK + &syscon EP93XX_CLK_I2S_SCLK + &syscon EP93XX_CLK_I2S_LRCLK>; + clock-names = "mclk", "sclk", "lrclk"; + status = "disabled"; + }; + gpio0: gpio@80840000 { compatible = "cirrus,ep9301-gpio"; chip-label = "A"; @@ -293,6 +306,17 @@ ide: ide@800a0000 { pinctrl-0 = <&ide_default_pins>; }; + ac97: ac97@80880000 { + compatible = "cirrus,ep9301-ac97"; + #sound-dai-cells = <0>; + reg = <0x80880000 0xac>; + interrupt-parent = <&vic0>; + interrupts = <6>; + pinctrl-names = "default"; + pinctrl-0 = <&ac97_default_pins>; + status = "disabled"; + }; + uart0: uart@808c0000 { compatible = "arm,primecell"; reg = <0x808c0000 0x1000>;