Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3025875rdh; Mon, 27 Nov 2023 05:06:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWxoq2XZjlCA4naK0tEUnD53wti4VnqeQE8TE2i2T8l9ugibvpl/cpGOc3NBlhoe3NswlN X-Received: by 2002:a05:6a00:93a7:b0:6be:4228:6970 with SMTP id ka39-20020a056a0093a700b006be42286970mr12440391pfb.21.1701090380968; Mon, 27 Nov 2023 05:06:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701090380; cv=none; d=google.com; s=arc-20160816; b=K+x4j56tPDfDp9hf/x79Bc4OdnQMcidXj1zLb3EAaTCaj1iwiwMpabuZcyk3Q92Wl4 RNV343yRGu4QLgNLrKZC3k1TwpP8MxoF+AR29Gyup4phrBMB5xADLnpKrWlbkwjn8Dzt e9kM+hByaanzImKKGMuCUAC5xsXChRdH7ue0hHBJiczGso7aQfhZYYO8zLC8fxg9qTP7 2OumZtUL0HFquUn0EXpkS5Wq7TZhf9Stf5SPBZdkFcZrLnTnK2pRmmsci06J+NT+6gYp u38uxQtuU5LXF5C3GEBBR/Wf92j6ld6MDmpZ8VjAaksMGfVPAy7Rp4dOwHPKMijDRIm/ QL1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=M73QesqTsQ1/588f3QXPR1+Nnk/QA17/yMUZE8AgNhE=; fh=NerdBMCeKMO7DWRJlbiKXmcF6ltWymzx40oA1nnaktc=; b=OGd5bVutNxOGOhVtADZZD3snYZ8X8U0SPnzghZQem2mqpVGVWtu5xYXNGdApRJ7Cvz GTMhlZL75uGKdwdoos3lGcV/xWbI77FD82V6PDGVZ/RLy+gvJqxfxdnRxZxEhgm2W3A0 YP2qG/b8biLK8OEDal6v25SuyVhjbj+NeyVcGzqwQH0dySUD2pOvkJvsiGR9mYcBZRcZ MYgtP4I3ZubZff8VF0Dh1Q1tSL4kNw20RjIeGaYieT2vBPBkTmiApQ44Olghzo7XRW+n 5B5HD4l+ym5IeKVySqR3wvcfLItyQ8igBvsqV+a+VK1c+5cIPxeEwW2vsvcP2VGB+Izy +vOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HFBdQOQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j11-20020a056a00234b00b006cb997ac3eesi9891209pfj.290.2023.11.27.05.06.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:06:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HFBdQOQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D3BCC80942CC; Mon, 27 Nov 2023 05:06:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233540AbjK0NFu (ORCPT + 99 others); Mon, 27 Nov 2023 08:05:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233429AbjK0NFt (ORCPT ); Mon, 27 Nov 2023 08:05:49 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE10619D; Mon, 27 Nov 2023 05:05:55 -0800 (PST) Received: from [100.107.97.3] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7B90E66022D7; Mon, 27 Nov 2023 13:05:53 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701090354; bh=gRXJb/1e7WjIf5g6smVGNZOF/hweFBeqiirSsX+9vuA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=HFBdQOQ8iR2h+6iOJCmRFlhoyOkv1mwxAejUAh0R5Lh4hw10hbJImfTPedIjCBCji Z7vZXHmK7nRG8wN2x08Rd44rabSawKJlgPSMLkDGEz6nJB6PWlJUeJ2oVfa6beulpw gLhI9/4PziLdCEVpWSGDOknNZGJytrhkv956IrJDb5q17t/nntaG3sceN74yJv/X9T ioENLrwTjqzaLwyXxp+/ZskGF3PddaO1Y6WVI6rx17QrxjtZ+W/sX4TwVq2Tv2CRN+ 2DACCT/IomiicClw3FDDk++MXRgpqMF3yFImAvrnJgD2rh5rPsWcF/+ICf1GBDOjRh UYaO0u+xG+znQ== Message-ID: <4c15c9a4-bf04-492d-9e02-d630092b6caa@collabora.com> Date: Mon, 27 Nov 2023 14:05:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/9] arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool Content-Language: en-US To: Chen-Yu Tsai , Eugen Hristev Cc: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231012230237.2676469-1-wenst@chromium.org> <20231012230237.2676469-7-wenst@chromium.org> <60beb523-292b-4c77-9030-1bfdfd73c140@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 05:06:15 -0800 (PST) Il 27/11/23 05:00, Chen-Yu Tsai ha scritto: > On Mon, Oct 23, 2023 at 5:05 PM Eugen Hristev > wrote: >> >> On 10/13/23 02:02, Chen-Yu Tsai wrote: >>> Tentacruel and Tentacool are MT8186 based Chromebooks based on the >>> Krabby design. >>> >>> Tentacruel, also known as the ASUS Chromebook CM14 Flip CM1402F, is a >>> convertible device with touchscreen and stylus. >>> >>> Tentacool, also known as the ASUS Chromebook CM14 CM1402C, is a laptop >>> device. It does not have a touchscreen or stylus. >>> >>> The two devices both have two variants. The difference is a second >>> source touchpad controller that shares the same address as the original, >>> but is incompatible. >>> >>> The extra SKU IDs for the Tentacruel devices map to different sensor >>> components attached to the Embedded Controller. These are not visible >>> to the main processor. >>> >>> Signed-off-by: Chen-Yu Tsai >>> --- >>> arch/arm64/boot/dts/mediatek/Makefile | 4 + >>> .../dts/mediatek/mt8186-corsola-krabby.dtsi | 130 ++ >>> .../mt8186-corsola-tentacool-sku327681.dts | 49 + >>> .../mt8186-corsola-tentacool-sku327683.dts | 26 + >>> .../mt8186-corsola-tentacruel-sku262144.dts | 44 + >>> .../mt8186-corsola-tentacruel-sku262148.dts | 28 + >>> .../boot/dts/mediatek/mt8186-corsola.dtsi | 1704 +++++++++++++++++ >>> 7 files changed, 1985 insertions(+) >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-krabby.dtsi >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327681.dts >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262144.dts >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacruel-sku262148.dts >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi >>> > > [...] > >>> diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi >>> new file mode 100644 >>> index 000000000000..42ebab1bafeb >>> --- /dev/null >>> +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi >>> @@ -0,0 +1,1704 @@ > > [...] > >> >> Hi Chen-Yu, >> >> These two aud_gpio_tdm empty entries cause this message to be printed: >> >> [ 12.949519] mt8186_mt6366_rt1019_rt5682s sound: there is not valid >> maps for state aud_gpio_tdm_off >> [ 12.959025] mt8186_mt6366_rt1019_rt5682s sound: there is not valid >> maps for state aud_gpio_tdm_on > > I guess we need to teach the sound driver to ignore empty pinmux states? ...and we need to teach to the bindings that the aud_gpio_tdm_{off,on} are optional states and can be omitted. Cheers, Angelo > > ChenYu