Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1683118pxj; Fri, 18 Jun 2021 12:33:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypVdceHWaKMaVHlFDZnMcBy7RxaMsI0Tm3pgKaJnJwuBn5D12kx+fI0EnLbKCNIscq2mJp X-Received: by 2002:a17:907:1689:: with SMTP id hc9mr12812091ejc.552.1624044831589; Fri, 18 Jun 2021 12:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624044831; cv=none; d=google.com; s=arc-20160816; b=aR84yHrm7IDdDgVEgg4KRbNhYdEmmjk1d+jztKHDVIl5U8Oy+FgdrQAc0YVdEip+2E oVWpksBViiYLdsNAQ2q+hcQHv+S1q/y/MsFnf9wH3gnHb0vNvBrhxXxrHxPRbFU4GzWq a/buwjWwUql6BUbfZRx0lWdvTfohnuLOJ9UCnd57HthQwYnARrx2A+QTCq1nEyhlzP8l EgItltqp8EmFkRcBIDSb2vpf68SbRIBe7miKRi6KqDIqgU1t2JLYx35f5HMrQ/jAbq+z 1SeyNBx9L73JVTtjhOvBQ9T63pX9lGFfuVFjkmVJvc2j1MiorP5k6Zb1VqJnhOHoh7Ih LtGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=K98EYWEUrUiQZaYXU/th664Hrf+PPLxMaWShDbXXluI=; b=tqlKK1Af8zHaIJDPxB9gVks4GVSczQ8nEpNdVFifVgDeRCBresIOTNnp1s7C02GoGu KzNruXNEs3vQ2w/0jDcGkFLZ8VJ6+KYPnzoMkvhCwHkmOQFm53G7MVs52CdHRFC6fteC VInPH5lKqXqoAWhqd+IUBg0vtKhwaHgW0WakM9qzrMfk9ZyPUqpGcHmXITfylO3ONHqg PSLG4YlZwYX0rYiC4FG6er9JqR5ZrOId3/s4+PhAcqZf+UcszRMP6rLJ4mcqpPTswiKa xH6ce+AquYQ0UAIK1kXsXqkseh+iv/IoSXWON5N8Xh1J5jV+QGIcvBXw7hbEWpMiUY9I x0Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MagQyTCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by13si3465951ejc.433.2021.06.18.12.33.28; Fri, 18 Jun 2021 12:33:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MagQyTCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235088AbhFRSPN (ORCPT + 99 others); Fri, 18 Jun 2021 14:15:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbhFRSPM (ORCPT ); Fri, 18 Jun 2021 14:15:12 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2004CC061574; Fri, 18 Jun 2021 11:13:03 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l7-20020a05600c1d07b02901b0e2ebd6deso6270531wms.1; Fri, 18 Jun 2021 11:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K98EYWEUrUiQZaYXU/th664Hrf+PPLxMaWShDbXXluI=; b=MagQyTCH6HKucF9M5MPjQOtjWLH5BVKOy3z+P6fS8qm/GxQkX1sdrEJfjjCTsPb7mk Wo6W+qwF+/gPPDBAHXFtYBZgygw4Oxk4b3ZmLQggQh6HLvlaX0yHfSeETlmDIRxXb+4N q9GaC3Hcs2q7yXQFSv8f/VoDdX1m+bSX/BLwXotMwPxD5dMPv/SRXA2cI7SHGnXDr9Wr FGjsc1c4DwVDXWxTDWOmwT4LuyhIRVqHgYPutZ+nU/3foiKwxL3wCCBdkARAS5TsFKHs 5WRJe0bXrdLAY2wfChXOCH5mFjMRZM27ZpJEi0EePdUOSheOv+x6AsDfH81L9IqMoJK9 Jc8A== 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:mime-version :content-transfer-encoding; bh=K98EYWEUrUiQZaYXU/th664Hrf+PPLxMaWShDbXXluI=; b=snFL2FsjiagXLr4H5humygTG4mEeoxoBIcawwXmaXcaL6Tr21HddgI71WSU/XkMZk/ h7YeNeZ/5nQ3B6DfX8CuoZyMb+VOq+Fjm56BJp7sFFvYPZEpRpBZ6g3923CO81m4LLJ4 mj8a45G1G/qRpFJDECtjmaJBwCNlPsalr4Tt5cATAjUIk3tbAIBvtfEbUfHBEW6/tyz5 ptqTr0R5X92MxvlCdwSwQc8SVgPGZtvXhrp0FToJSQ452llntaGLi52ICoZ9MtVBsM8m n1nY6aWXqkj1kbm4hQ3tP7jvjhl8haLPCcijt1m4Qx4jsndo5JPRTyqQf0E+f52TYdA/ Bu0w== X-Gm-Message-State: AOAM530gOWj7X5ccFarJWW80osOeRoh04sNosMTfF/ni8e8eRiX7q58+ cYuCeAHOCuO2MsS0ITqM8w== X-Received: by 2002:a05:600c:410c:: with SMTP id j12mr12895602wmi.117.1624039981706; Fri, 18 Jun 2021 11:13:01 -0700 (PDT) Received: from localhost.localdomain (ip5b434b8b.dynamic.kabel-deutschland.de. [91.67.75.139]) by smtp.googlemail.com with ESMTPSA id l10sm9306782wrv.82.2021.06.18.11.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 11:13:01 -0700 (PDT) From: Alex Bee To: Heiko Stuebner , Rob Herring Cc: Johan Jonker , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 0/5] Updates for Radxa ROCK Pi 4 Date: Fri, 18 Jun 2021 20:12:51 +0200 Message-Id: <20210618181256.27992-1-knaerzche@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi list, This series adds support for 2 new revisions of Radxa's ROCK Pi 4, namely ROCK Pi 4A+ and ROCK Pi 4B+. While most things are in common with the previous 4A and 4B revisions, they have OP1 revision of the SoC and eMMC soldered on board. Patch 4 and 5 add SPDIF and anlog Codec to the common device tree, since they are in place in previous revisions as well. It superseeds https://lore.kernel.org/linux-rockchip/d4e4e06e-6ddd-4707-232d-b829c1d646e6@gmail.com/ There is no example (which I could find) for Rockchip on how to deal with "+" revisions - so I looked up other SoCs and the rule seems to be to use the "+" for the model name (which is the "offical" name), but use "-plus" for compatible name and device tree files names (see "Raspberry Pi Model A+", for instance). A short node for testing ES8316 codec: The driver disables the headphone jack by default - for testing one would have to enable it via amixer with: amixer [card index] 'Right Headphone Mixer Right DAC' on amixer [card index] 'Left Headphone Mixer Left DAC' on Alex Changes in v2: - added additional compatibles for the new revisions (Heiko) - renamed ES8316 audio card name to "Analog" (Johan) - added patch for SPDIF - aligned spelling of board name(s) Alex Bee (5): dt-bindings: Add doc for ROCK Pi 4 A+ and B+ arm64: dts: rockchip: Add RK3399 ROCK Pi 4A+ board arm64: dts: rockchip: Add RK3399 ROCK Pi 4B+ board arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4 arm64: dts: rockchip: add SPDIF node for ROCK Pi 4 .../devicetree/bindings/arm/rockchip.yaml | 4 +- arch/arm64/boot/dts/rockchip/Makefile | 2 + .../boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 54 +++++++++++++++++++ .../dts/rockchip/rk3399-rock-pi-4a-plus.dts | 14 +++++ .../dts/rockchip/rk3399-rock-pi-4b-plus.dts | 47 ++++++++++++++++ 5 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts base-commit: 009c9aa5be652675a06d5211e1640e02bbb1c33d -- 2.27.0