Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6026626rdb; Mon, 1 Jan 2024 06:09:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEb9kA0a9o2abR9SYP9SjeIOH6MoFnyD6QjHRbPRNsLRLipGJjHaDZdmSSFckflexkvj7Kk X-Received: by 2002:a17:906:413:b0:a28:2165:7c74 with SMTP id d19-20020a170906041300b00a2821657c74mr342719eja.13.1704118180723; Mon, 01 Jan 2024 06:09:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704118180; cv=none; d=google.com; s=arc-20160816; b=IDSzy/n61VHNNsu14dWW96ewT3RAxQ60YHCnG5AagidibLlLbY+NVI48IHfmmWSED6 6pETbJxDuTox/Axo0pIB6dmq1H5f5rYBftcMVTPLLBwJWEVHUhvSOx9D6kizvDn+2Z89 n5pnQf4JqUT2434W9f4Qcgwxqn2EIe56vFGRGbhbusTJc8rptmcUI04/c8xfkEmqg8Cz oFHfXKs80hiUbRIWVZAg20k0m96aXNVQ/3xNmXo492x55U1sWGc0G3UyXeXToKofs+NB efCjsKuB9zSrRJwLBC/3ZId0E344EEEoyAk2JdZCqHWW2LTZpERGCJa8Heq+NBlcJgU3 wyYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WwbOnKSd2CNVtq/rFasgcnH+4hEeCpjbjthcy/qXQwg=; fh=hYcZeRHRgJxYAHx6ZS2d30jn6bk+A0gjkM4+03ubDZA=; b=x4RTx8N1eI/4DLv+83AuzD6786cAQ3d+cnJ5XBSmY0raSuGNhC9z/xxFXZjkET1c4x End84HWMvb0wQGUHUZsVjWgZecL56YSBP7J9vI4mh3rQFuo/IUiRN38KMwNTiUzFBufx 7B/9LVxwg75izi5MKzXp71LklsYeGq2kD7+JmPCd4KBmgBA7NKsfQFU0pvmrxwU25H1F 7nAzEYE7MhmufEFD/Qnse6FrVxg9MPY9qLV+yI261uOu7QcizcePV9q+b02imtMmVWZ6 Xcrp5GHPY4w6kZKOxlje4C+ov43nZSTXhR/f/Tylq4O02OFy5MEY/dcHX23B+ZUPE1Z/ 9qiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JhCd8xBu; spf=pass (google.com: domain of linux-kernel+bounces-13877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h5-20020a170906398500b00a26ebbfa78asi6613086eje.921.2024.01.01.06.09.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 06:09:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=JhCd8xBu; spf=pass (google.com: domain of linux-kernel+bounces-13877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 49F351F2172F for ; Mon, 1 Jan 2024 14:09:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 992DF4C6C; Mon, 1 Jan 2024 14:09:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="JhCd8xBu" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 188F86108; Mon, 1 Jan 2024 14:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704118167; bh=OZMmbVxNYTdn5G997u5ldg9//qwD2Jc/HwiTcRisc9k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JhCd8xBueIwwraiiSM1KXO3LAqwfjVvDTpi/URk5pfrGewSZOFyL+hhIs5tluFvOV AMRK5Wi1YgtsaunA+tOzFhF5WZsM+hEPb8k6qcvqR9i21rSnwvXsoYajv4I/9wMSJn /v1shqK7JVntFJuRb+ZI1o7ESNYFih1gWsmZDK1c3v8Xpds8O5SW8CkpBywT1x2ruW jbrkmjYGpF9dPEjMhr/Ehmrl4s8LpX++/yFUq/G6D9/72PT5bZLDK8V9jppzjubZnY ztdYr0XNQx2wBPMWmWexw+8DIiTXb5i5T06nm43OdClWrDLMirRPo6zF22MFo+OitU F5lwbhkC3rcVw== Received: from [100.90.194.27] (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: ehristev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 5B1DB37802F2; Mon, 1 Jan 2024 14:09:26 +0000 (UTC) Message-ID: <19c98266-0a8e-4e99-8766-cdf31a3a97b6@collabora.com> Date: Mon, 1 Jan 2024 16:09:25 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 6/9] arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool Content-Language: en-US To: Chen-Yu Tsai , Matthias Brugger , AngeloGioacchino Del Regno Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley References: <20231213150435.4134390-1-wenst@chromium.org> <20231213150435.4134390-7-wenst@chromium.org> From: Eugen Hristev In-Reply-To: <20231213150435.4134390-7-wenst@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello Chen-Yu, There is still some nonconformity with the bindings, please see below: On 12/13/23 17:04, 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 > Acked-by: Conor Dooley > --- > Changes since v3: > - Reorder some properties to conform better to the newly proposed DT > style guidelines > - Drop unused labels > - Rename bt-sco node name to bt-sco-codec > - Drop i2s*-share properties from afe node > - Drop aud_gpio_tdm_{on,off} pinctrl nodes > - Replace interrupts with interrupts-extended in tpm node > - Enable adsp device > > Changes since v2: > - Picked up Conor's ack > - Rename touchpad to trackpad > - Drop pinctrl properties from trackpad in tentacruel/tentacool second > source trackpad > > Changes since v1: > - Reorder SKU numbers in descending order. > - Fixed pinconfig node names > - Moved pinctrl-* properties after interrupts-* > - Switched to interrupts-extended for external components > - Marked ADSP as explicitly disabled, with a comment explaining that it > stalls the system > - Renamed "touchpad" to "trackpad" > - Dropped bogus "no-laneswap" property from it6505 node > - Moved "realtek,jd-src" property to after all the regulator supplies > - Switched to macros for MT6366 regulator "regulator-allowed-modes" > - Renamed "vgpu" regulator name to allow coupling, with a comment > containing the name used in the design > - Renamed "cr50" node name to "tpm" > - Moved trackpad_pins reference up to i2c2; workaround for second source > component resource sharing. > - Fix copyright year > - Fixed touchscreen supply name > --- [snip] > + > +&i2c3 { > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c3_pins>; > + clock-frequency = <100000>; > + status = "okay"; > + > + it6505dptx: dp-bridge@5c { > + compatible = "ite,it6505"; dp-bridge@5c: '#address-cells', '#size-cells', '#sound-dai-cells' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/display/bridge/ite,it6505.yaml# > + reg = <0x5c>; > + interrupts-extended = <&pio 8 IRQ_TYPE_LEVEL_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&it6505_pins>; > + #address-cells = <1>; > + #size-cells = <0>; /soc/i2c@1100f000/dp-bridge@5c: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property > + #sound-dai-cells = <0>; > + ovdd-supply = <&mt6366_vsim2_reg>; > + pwr18-supply = <&pp1800_dpbrdg_dx>; > + reset-gpios = <&pio 177 GPIO_ACTIVE_HIGH>; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + it6505_in: endpoint { > + link-frequencies = /bits/ 64 <150000000>; > + remote-endpoint = <&dpi_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + }; > + }; > + }; > +}; > + [snip] > +&spi1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&spi1_pins>; > + mediatek,pad-select = <0>; > + status = "okay"; > + > + cros_ec: ec@0 { > + compatible = "google,cros-ec-spi"; > + reg = <0>; > + interrupts-extended = <&pio 13 IRQ_TYPE_LEVEL_LOW>; > + pinctrl-names = "default"; > + pinctrl-0 = <&ec_ap_int>; > + spi-max-frequency = <1000000>; > + > + i2c_tunnel: i2c-tunnel { > + compatible = "google,cros-ec-i2c-tunnel"; > + google,remote-bus = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + > + typec { > + compatible = "google,cros-ec-typec"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + usb_c0: connector@0 { > + compatible = "usb-c-connector"; > + reg = <0>; > + label = "left"; > + power-role = "dual"; > + data-role = "host"; > + try-power-role = "source"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + typec:connector@0:ports: 'port@0' is a required property > + port@1 { > + reg = <1>; > + > + typec_port0: endpoint { }; > + }; > + }; > + }; > + > + usb_c1: connector@1 { > + compatible = "usb-c-connector"; > + reg = <1>; > + label = "right"; > + power-role = "dual"; > + data-role = "host"; > + try-power-role = "source"; > + > + ports { connector@1: Unevaluated properties are not allowed ('ports' was unexpected) from schema $id: http://devicetree.org/schemas/connector/usb-connector.yaml# > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@1 { connector@0: ports: 'port@0' is a required property > + reg = <1>; > + > + typec_port1: endpoint { }; > + }; > + }; > + }; > + }; > + }; > +}; > + [snip] > + > +&usb_host1 { > + #address-cells = <2>; > + #size-cells = <2>; usb@11281000: usb@11280000:#address-cells:0:0: 1 was expected from schema $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml# usb@11281000: usb@11280000:#size-cells:0:0: 0 was expected > + vbus-supply = <&usb_p1_vbus>; > + status = "okay"; > +}; > + > +&watchdog { > + mediatek,reset-by-toprgu; > +}; > + > +#include > +#include Eugen