From patchwork Sat Feb 11 00:26:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 55655 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1253327wrn; Fri, 10 Feb 2023 16:30:40 -0800 (PST) X-Google-Smtp-Source: AK7set/+xnrsUvYn44zlEvX43DnZ7Vx4ScANV8QY19cn0uQbC4JS3kT+MOd0mFlQd72xvzLsuXOf X-Received: by 2002:a62:198d:0:b0:5a7:a688:cd89 with SMTP id 135-20020a62198d000000b005a7a688cd89mr5633074pfz.5.1676075440089; Fri, 10 Feb 2023 16:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676075440; cv=none; d=google.com; s=arc-20160816; b=JxAHHwyaXJIR8/XXv+T5ZH/x9JoepkgPppSRrC3GPBwXofRIYerAV6gkaAsCuQobea tG7zsD7C6B8krk45X1rFMvy2dUmu3IfIYB/HxT8q9gD6VISk23jXaSsAv/eyTXcjENVg 2SX7KwQAXJLm92KoR6ktsqE9Kuh2tz6cqWZRr6/Za2boOm0dNeBTWrtXVdkp8/c2ozdU Bzua9vHCMgYLKUZ6/e8wifo/xQo1EPpLpeExGNluYHZKR8SI1zZmV+4g1stISG6pruCE RSkKzJm0Po6Tp3AB/026ymr1JbyWVoDlt7whtiF+ZFoWIUew8XzivvbxPPDE0pnW8Ofm 3N4Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oY0cdQ2marUD4OwIM+M3GAu8UjLnrue0uo5NTNBc7Qk=; b=Btaee3KNftD7o12ycivuTjvNPYgBJbxXC6mg2x7IrQZ20L7FNss7ZU0xRrbjaKNdhV 2FA1zmN89ZPeFP4W8VpBDTRkHUc+GXITq1MiAmqai3yvc0jMtQQXiXaOVZrxmbFMxPnv Mub0im/L8MMDZfebbDbC/WIcJsSSKC/FPT1OYh7bO/+yIIG1VAcpQPgnGU0EL6VQ27lx q2PYeAlNusuX6qA2keq65NnC5tnCmtDrCgARVu7WO9xzsPCKQIAv9JtlIiycurSxCGMB U3XPJhZOnTbdlD0ddvHgFyI6v3kYFNhv4T7N5kL17jQqVCcUoSkIwL61SNZ96r7hyjhU jGOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aaXJA6Da; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v128-20020a626186000000b00593e7f0a684si5307066pfb.366.2023.02.10.16.30.26; Fri, 10 Feb 2023 16:30:40 -0800 (PST) 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=pass header.i=@collabora.com header.s=mail header.b=aaXJA6Da; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbjBKA0n (ORCPT + 99 others); Fri, 10 Feb 2023 19:26:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbjBKA0m (ORCPT ); Fri, 10 Feb 2023 19:26:42 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26AB97BFF4; Fri, 10 Feb 2023 16:26:41 -0800 (PST) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id E713B6602116; Sat, 11 Feb 2023 00:26:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676075199; bh=vAh5F0xQSN2iFphfoEobR6dMKY7ybq2RJaHsZgPrfQk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aaXJA6Da+8w0do39ysgw3mQLUm7gHjxhyYm+3CHGnT0qWpRVmVBS0GirlAQs/yR4y /HWrYFYj3tPSvh4+QW/ik2LEaRCOOP4ZwTsppwHs6tXcpRZwYcSAO56h7/+DNashoT KJFFXo/tfochTYJjVrNv88Kul11HAZCiti+N2a2/0cOBBjLWeLm0vF3A5WoKE7Vs/Q mIknGU+UKVB+Je0GQ3Q/mtGAxUWeODEO28kwJHI4rHv1YJpq6WX1k43Qh3bWQG5LSd 5j8Fsvlb57cm9BgH8zWnitAYBvrz2PDv+9/fAorwTwV5m+0RYCS9u9AEp4KJFXU7DL jLXbkSu2WyaoA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Allen-KH Cheng , Andrew Lunn , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Krzysztof Kozlowski , Rob Herring , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 1/5] dt-bindings: arm64: dts: mediatek: Add rev5-sku2 of hayato Date: Fri, 10 Feb 2023 19:26:22 -0500 Message-Id: <20230211002626.454844-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230211002626.454844-1-nfraprado@collabora.com> References: <20230211002626.454844-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1757492480604078164?= X-GMAIL-MSGID: =?utf-8?q?1757492480604078164?= Add binding for newer version of Google Hayato: rev5-sku2. Signed-off-by: Nícolas F. R. A. Prado Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/arm/mediatek.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index ae12b1cab9fb..11458cd16109 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -133,6 +133,12 @@ properties: - enum: - mediatek,mt8183-evb - const: mediatek,mt8183 + - description: Google Hayato rev5 + items: + - const: google,hayato-rev5-sku2 + - const: google,hayato-sku2 + - const: google,hayato + - const: mediatek,mt8192 - description: Google Hayato items: - const: google,hayato-rev1 From patchwork Sat Feb 11 00:26:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 55656 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1253337wrn; Fri, 10 Feb 2023 16:30:41 -0800 (PST) X-Google-Smtp-Source: AK7set8PSgEbRbR9NJClqfxrfaTjJK+8Y4gUdnwblDhSNlSEdDAXmUpTBQDneKTCjFSxoZn1bPmv X-Received: by 2002:a17:903:22c1:b0:199:2a4f:be84 with SMTP id y1-20020a17090322c100b001992a4fbe84mr17723750plg.58.1676075441548; Fri, 10 Feb 2023 16:30:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676075441; cv=none; d=google.com; s=arc-20160816; b=c+yoaa3q+KeveAtEJZeQOr3NNbgqwNZsIIVvttTk0shi7YXuFLZsSBim2AiWLnNi18 U18FRTb0UlGGj0YzX/E98enJC82LjpNWrLnz3+eGkkZuN+DqVGlLfHfiGhMtIhiNqX8q 5ez/a47G+dKV9jTA+HOuFWaSLFS3pDndY1JhYGLgY3IcMz36d3xM2s945RIbpGekwMDC fUx5cOW3Xw8K0sruMiYVDAbNVkMEMBeLZkGlJd8vhPLsNdCKAbPUxAXKqd6RG3u8qWce UoIlr/+Gk6WMWwSJlAEIC9xsuW++Gv0n6phYmRE0uv1ezPDozzgUcAjk3uXPa5usB9Ad koqw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4Re++oyDEMba71nb92S6nq5Vfj5jUEiwV3pvuln/F4Y=; b=v/VZA9PdXt10aKhpf4wofLqObQA1dGpXe0KyaoYEt0bSmscUqkz1IQfK6kmiTG8o84 a25k+eskJt+2ZWgnTV02rv/Rc4ZodqDnl6zpcHxAf6a9TO0zGDw1u826tF86fKTeU5xE dnOhhK/b6BWEYmU+e/jk5e/HNpHCHkZWLmyTmuKSKFX7r5FEDGJfI0P1IfkJop5OsxIi zZ8IzGzWD0HeqMP5MpPdtrOTv5IdQp76Jnc0zs50hKGu2dP2uK2EhxgbJK7ZvHdeoye8 KwoVQ/VQRlRSc837kJxdEsSK8UIjrIeVGBnKKfAJwWo12speqsKBO2dfDY/kls6mgX4p ldAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MXpp2P2y; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a63b008000000b004cc1644c36csi5563427pgf.406.2023.02.10.16.30.27; Fri, 10 Feb 2023 16:30:41 -0800 (PST) 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=pass header.i=@collabora.com header.s=mail header.b=MXpp2P2y; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjBKA0v (ORCPT + 99 others); Fri, 10 Feb 2023 19:26:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbjBKA0p (ORCPT ); Fri, 10 Feb 2023 19:26:45 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F7707E02E; Fri, 10 Feb 2023 16:26:43 -0800 (PST) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 60F92660211E; Sat, 11 Feb 2023 00:26:40 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676075202; bh=0aZy7tt1Nff5CXL3+XhWnafCOr7nVPoVtqaoA2rqFJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MXpp2P2yxyJuIu6sGlvnvAlggd7My9Y5ZPh7SAvWSd9IzGaUNzYXsF7O+TVQmGz+d 3JZYnrNWfJPYMgJnoFACZEPSbZLrC2g/wkHkGN+nMBL/r2NpyskndGo/R6+VBb8DzC Fg1GawKdS7ebDfROpdMwj59M+Py76CN2GsSlJhS2L4oai7+Mh039dliPYmUs4sOQ4l EmFKZReejfoYyvM/iyyWBxJi33v5WiRXeYbv4oY+vJLMw+aEX9Qyr/IAhRzUINBI7w gYKHS4vpKf6NF6iZiJFvE7H2aJwtZyDWvqWLjeYxC/QJQXSMYmL41yCKpuPZ7FfcWT KucsWZz53F33Q== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Allen-KH Cheng , Andrew Lunn , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Frank Wunderlich , Krzysztof Kozlowski , Rob Herring , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 2/5] dt-bindings: arm64: dts: mediatek: Add rev4 of spherion Date: Fri, 10 Feb 2023 19:26:23 -0500 Message-Id: <20230211002626.454844-3-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230211002626.454844-1-nfraprado@collabora.com> References: <20230211002626.454844-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1757492482020073298?= X-GMAIL-MSGID: =?utf-8?q?1757492482020073298?= Add binding for newer version of Google Spherion (Acer Chromebook 514): rev4. Signed-off-by: Nícolas F. R. A. Prado Acked-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/arm/mediatek.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml index 11458cd16109..fd6587253191 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.yaml +++ b/Documentation/devicetree/bindings/arm/mediatek.yaml @@ -144,6 +144,11 @@ properties: - const: google,hayato-rev1 - const: google,hayato - const: mediatek,mt8192 + - description: Google Spherion rev4 (Acer Chromebook 514) + items: + - const: google,spherion-rev4 + - const: google,spherion + - const: mediatek,mt8192 - description: Google Spherion (Acer Chromebook 514) items: - const: google,spherion-rev3 From patchwork Sat Feb 11 00:26:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 55658 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1253521wrn; Fri, 10 Feb 2023 16:31:08 -0800 (PST) X-Google-Smtp-Source: AK7set+SssU8WcaxmdmIYjbjGt3NVlAxPpt4q9fcZiMOjUZd62qIDNfzUGOeBfKFDSSmFNCMASE1 X-Received: by 2002:a05:6a21:328e:b0:bd:2d4:ae12 with SMTP id yt14-20020a056a21328e00b000bd02d4ae12mr20550281pzb.12.1676075468035; Fri, 10 Feb 2023 16:31:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676075468; cv=none; d=google.com; s=arc-20160816; b=ZRVe0eJp3IczAIAKvtEA3mYZ2IlDjJU2HL2tE9ssREhB2N3thqTS3hqn7ZauU6s47v BCi5wcqGc4EDo/J19+wtfJ39VS0asK7RE74KbsgP1N+GCsUpQqLIWhBnkA35g/9adE1B hQtti9M9gt5uoNxUN2JDeyHEsKEY8UuJQWwlCW2HvQmF6wp6j4sDwMD032hdcPfSel0h 5Oy8gpO0U0qCmox1NlpuIzC3Op5DvtdGAK6p05bBhVyx4wpaHc7O6YhKmK9qYfIbFN11 +8iVX5h84aBQ7SZ01gpvAANgnBY/IgD2BYZ447OrQBf09QE+jP/PbzJsVkH06Hb52Q5A wPZQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iQM7FL6EiKup10JC4Ms09UWDjLJj+OzocZJygk79TAg=; b=g92cjwTST12sF3lmCoa5iK6ExiaXCflNBGAGjYk4r8FWPBKyUyrO3JFvag1DvwhJf6 zG24GjDdCsjNq98C/hWBLscTqzcnK0ILW+RAqyiata2uJaCI/hl9TQBseoyOWHVIOpUK WB1azmGRK2pXXLSWYOsfA8rt80QLujoW2MKnNFfv0ndrQj4wwrblfq395gpJ2gLYXXyc lTDjTr9IGBb4nO8F/VC9jMFTpPSCn3Hu4jzG7D9REujR8MHCDbd9CNteg8OhfRyhKkGZ aseSuG7B6/ZrTwet7dMk9nOJb8EvCyssp7fA4snOnyhegYnt/n7M9EChgCWDTS2Hkqpe +7IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dq1zENlb; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 205-20020a6301d6000000b0049ac8638781si5772807pgb.643.2023.02.10.16.30.55; Fri, 10 Feb 2023 16:31:08 -0800 (PST) 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=pass header.i=@collabora.com header.s=mail header.b=dq1zENlb; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbjBKA05 (ORCPT + 99 others); Fri, 10 Feb 2023 19:26:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbjBKA0t (ORCPT ); Fri, 10 Feb 2023 19:26:49 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB0CE821BE; Fri, 10 Feb 2023 16:26:45 -0800 (PST) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 539A06602117; Sat, 11 Feb 2023 00:26:42 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676075204; bh=Gm+Fv0Lf5OBMJRwMwPwUnakOGkSawtiyv5gR5vwnHEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dq1zENlbIU6e5lYwBFr4/UN5m6eTJ6Xmij+S8+cTBbYx3YRotjypGtFE+qcRiNPOY 8IGNecyKb1bejqcOdieI54NjCuXJujo+/Op2iqKYadboKbzIOTnVbd81dQBVIXARGN w34HSdKjWDUhTUyOuNBFZ5hNbLhiM4jZs1YFboziejhhWUzI5mJFLUpLfFafUxHisR EYDjJaNjEe+fyqfscxdPrqpQ9aFmKLBqXNt3YM/UOSxBGl6kIlQP9jIp/zzh4Tm6rb +aVEFDMS7dCivivaZ7bv8b1GWQRyuSdTGjNYstwabTqWZZhlBc9R5ZQZuntRcwRe4i OOowiptXPcDvQ== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 3/5] arm64: dts: mediatek: Add dtsi files to use rt5682s on mt8192 Date: Fri, 10 Feb 2023 19:26:24 -0500 Message-Id: <20230211002626.454844-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230211002626.454844-1-nfraprado@collabora.com> References: <20230211002626.454844-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1757492510044788905?= X-GMAIL-MSGID: =?utf-8?q?1757492510044788905?= Add a dtsi file for the rt5682s audio codec and another to wire it to be used by mt8192's sound card. These dtsi files will be used by Spherion rev4 and Hayato rev5-sku2, which make use of the rt5682s codec instead of the rt5682 used in previous revisions. Signed-off-by: Nícolas F. R. A. Prado --- .../mt8192-asurada-audio-rt1015p-rt5682s.dtsi | 18 ++++++++++++++++++ .../mt8192-asurada-audio-rt5682s.dtsi | 19 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p-rt5682s.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt5682s.dtsi diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p-rt5682s.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p-rt5682s.dtsi new file mode 100644 index 000000000000..8921f5e38586 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p-rt5682s.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2022 MediaTek Inc. + */ +#include "mt8192-asurada-audio-rt5682s.dtsi" +#include "mt8192-asurada-audio-rt1015p.dtsi" + +&sound { + compatible = "mediatek,mt8192_mt6359_rt1015p_rt5682s"; + + speaker-codecs { + sound-dai = <&rt1015p>; + }; + + headset-codec { + sound-dai = <&rt5682s 0>; + }; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt5682s.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt5682s.dtsi new file mode 100644 index 000000000000..919035245b6e --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt5682s.dtsi @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2022 MediaTek Inc. + */ + +&i2c1 { + rt5682s: audio-codec@1a { + compatible = "realtek,rt5682s"; + reg = <0x1a>; + interrupts-extended = <&pio 18 IRQ_TYPE_LEVEL_LOW>; + realtek,jd-src = <1>; + #sound-dai-cells = <1>; + + AVDD-supply = <&mt6359_vio18_ldo_reg>; + DBVDD-supply = <&mt6359_vio18_ldo_reg>; + LDO1-IN-supply = <&mt6359_vio18_ldo_reg>; + MICVDD-supply = <&pp3300_g>; + }; +}; From patchwork Sat Feb 11 00:26:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 55657 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1253491wrn; Fri, 10 Feb 2023 16:31:05 -0800 (PST) X-Google-Smtp-Source: AK7set/BCJPPelLeZ6wvG8HRNo0H80J7T7fEr4O0enVCRZxXQuyBeBjNhuiptDyFpW1R09KMe1l3 X-Received: by 2002:a05:6a20:3c92:b0:c0:be63:75e5 with SMTP id b18-20020a056a203c9200b000c0be6375e5mr19985519pzj.33.1676075464756; Fri, 10 Feb 2023 16:31:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676075464; cv=none; d=google.com; s=arc-20160816; b=yXNL4tcwAUeYYzpzDkFd6gYqKHomDKlgkMTKLJTJHDuMmCETehNYNRPOVjrZE4k3Ru O49NGqImTqdg98RGbIFKbkoTfY2CPKpsYabpKFPAjDhFfwHkta/dq9peBqWs62nRenUj z5VCPwm8rIYoz+igaFrIC9dUKUoRVTS/dYw75xcNsywJg36Vyw3CdDtLVoke5rNmMwC9 Z8nfoStHhY1Gh1FBJTZiIXXSeTcyiM5ovib5ROVZssk7zR7aLkhVuj/0X6Va8o1ep8ES m+d8hMKmEuTmtTPiKw5sZMEXdDoPxoAKiP0aHdA1sSXuw85Q82a764zna1DFcN6adPuv iS3g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=efUIT41m/vSNhrXVcWHkqGPDzJaOoC84InQplcVn13s=; b=O1QeONEOzKRpGMQy2BmbMegFT25gyBDCftGRBB73P+aaf/82ICI9PYUzYR5uT/vmp5 NsnP8nRT/ss/5g0bybyFSSO5crZ+JXS383AjTx5UtEifKU9PYmOjhC1DkJBYQf+LNOF1 VFcKMieieue6qYERLtNWZBy1jVCMbb0+rTJDndA+dNX6BpOWfLuY4BBG2SRFjHGSe/jL I6i1dRlQyoQ+nlcW800joKTb9ial53p3jdxolPulomnAiglQ8Rt5Vhsz99RY4HExFHeq U9kDZincH5za52QO2jIj3BNP+MI2TuVEoTv7XTaT7eAqOeIfkOnDp5L/8dF8qZLFjOwe suMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e3oK8jsX; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a17090a9a8e00b00233b32fdf1csi2030895pjp.77.2023.02.10.16.30.52; Fri, 10 Feb 2023 16:31:04 -0800 (PST) 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=pass header.i=@collabora.com header.s=mail header.b=e3oK8jsX; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229750AbjBKA1B (ORCPT + 99 others); Fri, 10 Feb 2023 19:27:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230059AbjBKA0u (ORCPT ); Fri, 10 Feb 2023 19:26:50 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7390C6A5C; Fri, 10 Feb 2023 16:26:48 -0800 (PST) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4C7B56602137; Sat, 11 Feb 2023 00:26:45 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676075207; bh=u/Pr3DhxNBpEqqdJfKoFRXtR2Uvs7ZRGDDazPyOIVEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e3oK8jsXuhZB75qmw4F8vbHumsZk4CaL5DnXhNcrcA5poa9HEJtCSvM/jUqwi85ng iFI0wokijPusxSFxQh8Aqc9W7MW3wIJw2LJLYg7w15BvGH0IPIq4pLY7bqCiadeJB5 jyv1eXrLypVWA+JyTqhyUvMtm3sPFaRhWd58fVK95bO4ylcuCMVqOsI3Qsy7cbPsj/ JBDXe5xFM10ApFl4ArRn5WiRvJF3CiZQ4nC51yWCUK3ligbcFV9uCwSi3g2KtmncZU 61eGn5l8w2Fb7RoPNYzde7lnslOkux18CfhN9Bxbkt0VIh9kzOEVPxKvwOydAh0GKa 0YL62a1iRwdNA== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 4/5] arm64: dts: mediatek: Add hayato-rev5-sku2 Date: Fri, 10 Feb 2023 19:26:25 -0500 Message-Id: <20230211002626.454844-5-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230211002626.454844-1-nfraprado@collabora.com> References: <20230211002626.454844-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1757492506570196443?= X-GMAIL-MSGID: =?utf-8?q?1757492506570196443?= Add a devicetree for rev5-sku2 of Hayato. It uses the rt5682s audio codec instead of the rt5682 used in the previous revision. Signed-off-by: Nícolas F. R. A. Prado --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../mt8192-asurada-hayato-r5-sku2.dts | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index 813e735c5b96..b349c4805e4c 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -40,6 +40,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r5-sku2.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r1.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts new file mode 100644 index 000000000000..d8f32c5f2b65 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r5-sku2.dts @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ +/dts-v1/; +#include "mt8192-asurada.dtsi" +#include "mt8192-asurada-audio-rt1015p-rt5682s.dtsi" + +/ { + model = "Google Hayato rev5"; + compatible = "google,hayato-rev5-sku2", "google,hayato-sku2", + "google,hayato", "mediatek,mt8192"; +}; + +&keyboard_controller { + function-row-physmap = < + MATRIX_KEY(0x00, 0x02, 0) /* T1 */ + MATRIX_KEY(0x03, 0x02, 0) /* T2 */ + MATRIX_KEY(0x02, 0x02, 0) /* T3 */ + MATRIX_KEY(0x01, 0x02, 0) /* T4 */ + MATRIX_KEY(0x03, 0x04, 0) /* T5 */ + MATRIX_KEY(0x02, 0x04, 0) /* T6 */ + MATRIX_KEY(0x01, 0x04, 0) /* T7 */ + MATRIX_KEY(0x02, 0x09, 0) /* T8 */ + MATRIX_KEY(0x01, 0x09, 0) /* T9 */ + MATRIX_KEY(0x00, 0x04, 0) /* T10 */ + >; + linux,keymap = < + MATRIX_KEY(0x00, 0x02, KEY_BACK) + MATRIX_KEY(0x03, 0x02, KEY_FORWARD) + MATRIX_KEY(0x02, 0x02, KEY_REFRESH) + MATRIX_KEY(0x01, 0x02, KEY_FULL_SCREEN) + MATRIX_KEY(0x03, 0x04, KEY_SCALE) + MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) + MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) + MATRIX_KEY(0x02, 0x09, KEY_MUTE) + MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) + MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) + + CROS_STD_MAIN_KEYMAP + >; +}; + +&touchscreen { + compatible = "hid-over-i2c"; + post-power-on-delay-ms = <10>; + hid-descr-addr = <0x0001>; + vdd-supply = <&pp3300_u>; +}; From patchwork Sat Feb 11 00:26:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 55659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1253541wrn; Fri, 10 Feb 2023 16:31:11 -0800 (PST) X-Google-Smtp-Source: AK7set/MCvcTbdhHQYA+vBe0H806+vbjNeK0+8tzqV7DHqOx/o2AvIqCYG1wclCbi6qzx8QcoPc9 X-Received: by 2002:a17:906:6557:b0:885:d02f:d4ad with SMTP id u23-20020a170906655700b00885d02fd4admr17770967ejn.43.1676075471026; Fri, 10 Feb 2023 16:31:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676075471; cv=none; d=google.com; s=arc-20160816; b=qYENFR3xH0fooCwzXS2lFgQEZO+CXZYKaDeIxdN/EeKM2QiFizpyMYBEvqJaaykg1z tBgUl58n30hl0dLJyI0Bheo16Cbs/9Yd/h2BpW+geTPlD6gHRoVlVcDyjfzX4QQk8u4w 5FseNgU4DZiwshUBCLOgL94fX7xzYiHzLkq6zgzVLqKdNiQ4MZGCdGJrXVAbTOnxV5Tl Gy7bciL7Z6nBJyfgb3LhE1XRQFSxDJjvOAy+Aw6zU0Wkl4+id4nqJwjlpmULJ4YwPhGA UhRsMPyvhC6BvPm5pIQC90Vh9L7fMqrKj2vd5yfiA3iHHXrpDAn7aW8iOzdx4EMdBNHw wyKg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7VWEeZGOj/+ULHGGOWcSfJXmcLrHGeNxbFHzvdNwDUw=; b=Es05nE6ycewIQsHlRLL4oXp2XIsB2AkVANYlzGv02nti54DRhi9nA+CoD7z0t4CXL5 djWamycLlpLZkLwBw35B63i9PIoKqmo7bx+Ym1QiScbVp18VV5GeOKaObuS7ERvsGbqu FPoEAs9BmcDEnFInVcH2Zhr3NYE0KUBZjcbnU3gP2IGqPM9UTHVIExnKJhhPJ+VdPzAS dbFW0wG/W7LDEBB/E16E0WfZ3wfggn4QSgVr/GKFLijEJIUqz0fd9mRVURBM4fwowA1C DtGBNP+VjXdcEUiNRjPrnbxBst/eNOCdXn+veBYr0tBSWyHMvTYuuaz32PVXQWAZmUcE yg9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=deUF6tu0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ab15-20020a170907340f00b00887c0163236si6056642ejc.224.2023.02.10.16.30.47; Fri, 10 Feb 2023 16:31:11 -0800 (PST) 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=pass header.i=@collabora.com header.s=mail header.b=deUF6tu0; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjBKA1K (ORCPT + 99 others); Fri, 10 Feb 2023 19:27:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229687AbjBKA0y (ORCPT ); Fri, 10 Feb 2023 19:26:54 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1CC018154; Fri, 10 Feb 2023 16:26:50 -0800 (PST) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9608A660211D; Sat, 11 Feb 2023 00:26:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676075209; bh=4fj14O2ZqY7lhZc9uruNRVseKfOaZN5u91rDfmMZECs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=deUF6tu06hDPmNRkLFWhShkbhZyGLxzHkof1s1fPKup+K+R9oXBWaNPiE0OaGw05L W55wTqEbR3/B898ljIBNABz7SNcg+NBgEaHuI859nXXwEsgYVo6QEeAQrdy5OLrYNr qR4RoXsbYt01Rk/4sjcBf/e7Xc1BT+EgLBlqS7Jwi1Opp14/msSnw3tZw/w5n2c7k9 0YAP/EpynqedcHfgEJekcOpGSo/ZUQYNLdibwqL3dm+Bqh0H/kkeE5ncQmrFb2Mcye MmfIJw9vGcIL5pVlENKdpgSeGflbzVCHxrL0XOCLRY7wAGqJ4v8JtsW9lr+e2wZh2l 5UfQ1lzvZlQXg== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 5/5] arm64: dts: mediatek: Add spherion-rev4 Date: Fri, 10 Feb 2023 19:26:26 -0500 Message-Id: <20230211002626.454844-6-nfraprado@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230211002626.454844-1-nfraprado@collabora.com> References: <20230211002626.454844-1-nfraprado@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?1757492513016704333?= X-GMAIL-MSGID: =?utf-8?q?1757492513016704333?= Add a devicetree for rev4 of Spherion. It uses the rt5682s audio codec instead of the rt5682 used in the previous revision. Signed-off-by: Nícolas F. R. A. Prado --- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../mediatek/mt8192-asurada-spherion-r4.dts | 62 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile index b349c4805e4c..8f35aa2406b2 100644 --- a/arch/arm64/boot/dts/mediatek/Makefile +++ b/arch/arm64/boot/dts/mediatek/Makefile @@ -42,6 +42,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r5-sku2.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r4.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r2.dtb diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts new file mode 100644 index 000000000000..3949a8f73e71 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r4.dts @@ -0,0 +1,62 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ +/dts-v1/; +#include "mt8192-asurada.dtsi" +#include "mt8192-asurada-audio-rt1015p-rt5682s.dtsi" +#include + +/ { + model = "Google Spherion (rev4)"; + compatible = "google,spherion-rev4", "google,spherion", + "mediatek,mt8192"; + + pwmleds { + compatible = "pwm-leds"; + + led { + function = LED_FUNCTION_KBD_BACKLIGHT; + color = ; + pwms = <&cros_ec_pwm 0>; + max-brightness = <1023>; + }; + }; +}; + +&cros_ec_pwm { + status = "okay"; +}; + +&keyboard_controller { + function-row-physmap = < + MATRIX_KEY(0x00, 0x02, 0) /* T1 */ + MATRIX_KEY(0x03, 0x02, 0) /* T2 */ + MATRIX_KEY(0x02, 0x02, 0) /* T3 */ + MATRIX_KEY(0x01, 0x02, 0) /* T4 */ + MATRIX_KEY(0x03, 0x04, 0) /* T5 */ + MATRIX_KEY(0x02, 0x04, 0) /* T6 */ + MATRIX_KEY(0x01, 0x04, 0) /* T7 */ + MATRIX_KEY(0x02, 0x09, 0) /* T8 */ + MATRIX_KEY(0x01, 0x09, 0) /* T9 */ + MATRIX_KEY(0x00, 0x04, 0) /* T10 */ + >; + linux,keymap = < + MATRIX_KEY(0x00, 0x02, KEY_BACK) + MATRIX_KEY(0x03, 0x02, KEY_REFRESH) + MATRIX_KEY(0x02, 0x02, KEY_FULL_SCREEN) + MATRIX_KEY(0x01, 0x02, KEY_SCALE) + MATRIX_KEY(0x03, 0x04, KEY_SYSRQ) + MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN) + MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP) + MATRIX_KEY(0x02, 0x09, KEY_MUTE) + MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN) + MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP) + + CROS_STD_MAIN_KEYMAP + >; +}; + +&touchscreen { + compatible = "elan,ekth3500"; +};