Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp317644rwi; Wed, 2 Nov 2022 12:16:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6UrnEGBR2lz4jKxrM57rfUjgRSvN7y2CxeDU3DyuRhzS3gecfK35z9pF1Tpo0rAMi/jnKW X-Received: by 2002:aa7:d40e:0:b0:463:3844:f160 with SMTP id z14-20020aa7d40e000000b004633844f160mr20911216edq.296.1667416576993; Wed, 02 Nov 2022 12:16:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667416576; cv=none; d=google.com; s=arc-20160816; b=lhad3fYveBnH6/GEeNZ1DT+rfGg8GE+wwob4CYo3Ip0cL+srag0PqEfhSNrTicciJa os22hQN73IOJ7ZJ4vN29f32JRNFDCh0IrhQwKLko/yxGu3PRSR2Tkhsk4SCZ48IwKq78 VPEmTmpnQGAHy1AgeHwgRAaYTyh+vajaE4puLCBKCRkyvuYDD2u0VO4ec4q72EbORw1M AtqkBSsaIIbCIcu20egPJadXX2J7JBiBFVqJHuJkasWGqNnSj46mAWW6w3h8IzfdXVU5 Qnnk6Acs3AqBt2xvR9ptLvS0wSiwFiycR3cT0zuSt9dyCRqOMbOSuHHO2TcOysS+XUHP hYzw== 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=/vJiA1B85dH2kZB0andVO/jbuNg2xpOxud9gtAT21qc=; b=ksUDQmRhe8lpeKF2VArkZ3A7UYOKvKmYxGd9I928j8LO1gR15gE1LJ9w0y8+/0Oc4o /kpGSP8glLf1LJimX4TyImOB2tUMvSx1duV8n8QC0zUUgF5WCne2V9ucE/TRKhCMk3kw u2vzG4IAdxlhc8gwY4N5O4QjIY7cQluvtg5VbYooF+rf9dbQQ8U04rCir2Ki25Wjst/W W0JsAUvIGjDtoxCg1Iz47lJW+0iujm05uxBHlTGT0E1zDZ5BugVAtT72dwdUeqPKSazt EG4/ubGCgQZnkNrNC0+DUr9SwUzqppOfP5I+wXtCHp1nnN2iEikoGv2EK0WhQncWHr48 vLlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=OmAeawVx; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k15-20020a1709061c0f00b006feb76dbd51si12455449ejg.289.2022.11.02.12.15.52; Wed, 02 Nov 2022 12:16:16 -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=pass header.i=@collabora.com header.s=mail header.b=OmAeawVx; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231790AbiKBTG0 (ORCPT + 98 others); Wed, 2 Nov 2022 15:06:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230266AbiKBTGY (ORCPT ); Wed, 2 Nov 2022 15:06:24 -0400 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 221A0C00; Wed, 2 Nov 2022 12:06:23 -0700 (PDT) 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 F340E6601671; Wed, 2 Nov 2022 19:06:19 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667415981; bh=FsgjrI9Qzo0bsrusMvSReHZ5iMayNntgVoZWPmOnknY=; h=From:To:Cc:Subject:Date:From; b=OmAeawVxpom2EF3ceUJLMDwjPvqchL+Rj2hlPhJoNgx9a6Jt67nmQE0uHt7/8TWID vKE8s8Ok1wHYv5xXNqdKJEeeh/eG3798k6bHNwR7bUXFwuxY28ezwcOVV2TV9im3O+ ZqDKR7B2PJQWDB4dwU7LHglvCgcj2UIF/yYfkFKDBVhVhYHgqGw3WtJ8uAZQaqou6N 1HGf86xS7whn3HRMsihb/IcJtGk+rhZ35Rh+lQaQupw+L3RIGG8zF+8mIx0oNz4lIt 6B+crOXAL8/r1180F2Zl5oRSj6mcYwSDXPrmK30ctx9X/SZygIUeiuoxYITEcMPe6T TKD/m6o6FMUBA== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: kernel@collabora.com, Chen-Yu Tsai , AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , 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 v3 0/5] MT8192 Asurada devicetree - Part 2 Date: Wed, 2 Nov 2022 15:06:06 -0400 Message-Id: <20221102190611.283546-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 This series improves some more the support for MT8192 Asurada-based Chromebooks, by enabling some missing functionality, namely the internal display and audio. In addition to that, aliases are also added for the i2c and mmc nodes, which should've been done while adding the devices in the previous series. Some notable components that are still missing support are: - external display/HDMI audio (waiting for [1]) - GPU (waiting for [2]) As part of testing the audio, an UCM file was used, which has already been submitted upstream [3]. This series depends on some missing dt-binding properties on rt5682, which are added by another series [4]. [1] https://lore.kernel.org/all/20220622173605.1168416-1-pmalani@chromium.org/ [2] https://lore.kernel.org/all/20221006115816.66853-1-angelogioacchino.delregno@collabora.com [3] https://github.com/alsa-project/alsa-ucm-conf/pull/217 [4] https://lore.kernel.org/all/20221102182002.255282-1-nfraprado@collabora.com v2: https://lore.kernel.org/all/20221006212528.103790-1-nfraprado@collabora.com v1: https://lore.kernel.org/all/20220908171153.670762-1-nfraprado@collabora.com/ Changes in v3: - Moved codec and sound card compatibles to separate dtsi to prepare for headset codec differences in newer revisions - Added new supplies for rt5682 - Removed i2c aliases for unused controllers Changes in v2: - Extended series to also include patches 4 and 5 enabling audio and adding aliases - Adjusted display regulator hierarchy and voltages to reflect the hardware NĂ­colas F. R. A. Prado (5): arm64: dts: mediatek: asurada: Add display regulators arm64: dts: mediatek: asurada: Add display backlight arm64: dts: mediatek: asurada: Enable internal display arm64: dts: mediatek: asurada: Enable audio support arm64: dts: mediatek: asurada: Add aliases for i2c and mmc .../mt8192-asurada-audio-rt1015p-rt5682.dtsi | 19 + .../mt8192-asurada-audio-rt1015p.dtsi | 26 + .../mediatek/mt8192-asurada-audio-rt5682.dtsi | 21 + .../dts/mediatek/mt8192-asurada-hayato-r1.dts | 1 + .../mediatek/mt8192-asurada-spherion-r0.dts | 1 + .../boot/dts/mediatek/mt8192-asurada.dtsi | 465 ++++++++++++++++++ 6 files changed, 533 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p-rt5682.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt1015p.dtsi create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-audio-rt5682.dtsi -- 2.38.1