Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4426924rdb; Fri, 15 Sep 2023 01:34:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWGcsa0qaE0baI4ybhPXjwVtBskuq6rP+G1zXvSaACYDbnASQeS6WENjn3T3KZZ8K0yyeS X-Received: by 2002:a05:6a20:72a3:b0:14d:e615:277c with SMTP id o35-20020a056a2072a300b0014de615277cmr1395163pzk.11.1694766879489; Fri, 15 Sep 2023 01:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694766879; cv=none; d=google.com; s=arc-20160816; b=CiT/D2YXcpbaxuDmCpf9Va6eW1j79o6UYIaEky98DZQGriCXjAIya1AyIX8aTN2UFM OK6wL9dtT4bS+jCLxT7IB0YY+SLU9dNMesu6HdWZOY3Gz9DsOz+nkivIaBeak6DpHKqw SCp+0YY0F4FZv9vJWG4nM9/DsBClPaSLFKgASpXrf31DnbgP9lywR1MRdS4zfwXvbaWA aaOJLhjcx/C7rE1H8Vsg0Y2vkCZnVeXlSSKGayqkHrSx43SWO/j4uFfxl9pfIjBFKjIW Iv7aCiXrDK3TZ7lsIxI71iyviu8TF3ZL1Z/qAv+QdVzFx/EKH4P/6HIrNQqTfVG30ihH JXXg== 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=YqF0GmXW7u/0GMyc/k7hirQHe/I8GeaepW/dVu/If4I=; fh=aB8NW7MlOck1JAyoq2bGz1G+U9ywSYwkNxuE4cXrqdE=; b=qRexr2hcfS5v9hbhyIfYEBz2rM7unyomQe4P8UFs4qQvJYnwFcqxlNSN9ksbibqxbE E4AxUNkNhmfdH7izfjKEpRMMfwtCKWa5sasKJQ9lbdaJY+e37yWP3IiyrMiPvvki1KcQ qYGq0rpQRjwzDo9JXhCRQ9FWnskF9+ZhReEp6htRVtfAmm5NsCMwIGE29B1OBkGYfxwY KwvmzdrXt0WTJ2Y+/M/wB6HvWyaKeB/Ave0bBdb84qKiC5KAQa546Aj40YEplzWQj37P 217AWyYDqqE3NdptkjmGAGVRdMQ3hKErmuCUBOG8vZSQMQgbYEbtuht15NK+9L6du6xj 3tSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="NRlUpoN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id z32-20020a056a001da000b0068fbd15c04dsi2948841pfw.3.2023.09.15.01.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:34:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="NRlUpoN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 28235829FDD9; Fri, 15 Sep 2023 01:34:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232958AbjIOIef (ORCPT + 99 others); Fri, 15 Sep 2023 04:34:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbjIOIea (ORCPT ); Fri, 15 Sep 2023 04:34:30 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 949FCEB; Fri, 15 Sep 2023 01:34:24 -0700 (PDT) X-UUID: 261b03f053a011eea33bb35ae8d461a2-20230915 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date:Message-ID; bh=YqF0GmXW7u/0GMyc/k7hirQHe/I8GeaepW/dVu/If4I=; b=NRlUpoN/dAcBVWAT4ykIIf6TKuvyGpdvwk7QektWns6fbhiAMoJ13JVfjfJ/c9lS+Br3mCIMncapVmJz0ofp6mU0ASKIhLNRYXifp2D4UxNBf2tbr8ykYT1iWVZYGPTNWObuHPEeYRnI0YlH1WyoIy98t9HQxhsx/HtRYwMgFcc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.31,REQID:40004a28-fa81-4d41-83cc-050a6c8edf33,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:0ad78a4,CLOUDID:047210c3-1e57-4345-9d31-31ad9818b39f,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULS X-UUID: 261b03f053a011eea33bb35ae8d461a2-20230915 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2025219946; Fri, 15 Sep 2023 16:16:19 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 15 Sep 2023 16:16:18 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 15 Sep 2023 16:16:17 +0800 Message-ID: <0f34d997-5464-f924-5f8a-b158ab13e7da@mediatek.com> Date: Fri, 15 Sep 2023 16:16:15 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v3 2/2] arm64: dts: mediatek: add device-tree for Genio 700 EVK board Content-Language: en-US To: AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , =?UTF-8?Q?Bernhard_Rosenkr=c3=a4nzer?= , , , , CC: Bear Wang , Pablo Sun , Macpaul Lin , Chris-QJ Chen References: <20230914061833.32288-1-macpaul.lin@mediatek.com> <20230914061833.32288-2-macpaul.lin@mediatek.com> <8596fd5e-035b-b7be-3588-c07f27d1f38f@collabora.com> From: Macpaul Lin In-Reply-To: <8596fd5e-035b-b7be-3588-c07f27d1f38f@collabora.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:34:36 -0700 (PDT) On 9/14/23 18:02, AngeloGioacchino Del Regno wrote: > Il 14/09/23 08:18, Macpaul Lin ha scritto: >> Add basic device-tree for the Genio 700 EVK board. The >> Genio 700 EVK is based on MediaTek MT8390 SoC. >> MT8390 hardware register maps are identical to MT8188. >> >> The Genio 700 EVK has following features: >> >> - MT8390 SoC >> - MT6365 PMIC >> - MT6319 Buck IC >> - 12V DC Jack >> - 2x4GB LPDDR4X >> - 64GB eMMC 5.1 >> - 64Mb SPI NOR >> - M.2 Key A-E slot with PCIe Gen2 and USB 2.0 >> - 2x DSI LCM ports >> - 2x touch sensor ports >> - 2x MIPI-CSI, as camera daughter board slots >> - USB 2 micro USB connector >> - USB 3 with 1 to 2 hub: >>    - M.2 Key B slot >>    - Type-C connector, with DisplayPort over Type-C >> - HDMI 2.0 TX port with Type A HDMI connector >> - eDP port >> - Gigabit Ethernet with RJ45 connector >> - SD card slot >> - Earphone Jack >> - Analog Microphone >> - 2x Digital Microphone >> - 3x UART with serial-to-usb converters and micro USB connectors >> >> Signed-off-by: Chris-QJ Chen >> Signed-off-by: Pablo Sun >> Signed-off-by: Macpaul Lin >> --- >>   arch/arm64/boot/dts/mediatek/Makefile         |   1 + >>   .../dts/mediatek/mt8390-genio-700-evk.dts     | 880 ++++++++++++++++++ >>   2 files changed, 881 insertions(+) >>   create mode 100644 >> arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts >> >> dependencies for v1: >>   - This patch should be applied after the following patch set >>    - mt8365-gneio-350-evk's dts change (v4) >>     - >> https://lore.kernel.org/linux-arm-kernel/20230912092444.31635-1-macpaul.lin@mediatek.com/T/ >> >>    - mt8395-genio-1200-evk's dts basic support (v6) >>     - >> https://lore.kernel.org/lkml/20230911115717.26184-1-macpaul.lin@mediatek.com/T/ >> >>    - mt8188 platform's basic support >>     - >> https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/ >> >> >> changes for v2: >>   - Fix gpio defines '0' to 'GPIO_ACTIVE_HIGH'. >>   - Drop duplicate name: 'default' for I2C4. >>   - Update dependencies >>    - mt8365-gneio-350-evk's dts change (v5) >>     - >> https://lore.kernel.org/lkml/20230913032226.4092-1-macpaul.lin@mediatek.com/ >> >>    - mt8395-genio-1200-evk's dts basic support (v7) >>     - >> https://lore.kernel.org/linux-arm-kernel/20230913032057.3197-1-macpaul.lin@mediatek.com/T/ >> >>    - mt8188 platform's basic support (v4) >>     - >> https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/ >> >> >> changes for v3: >>   - No change. >>   - Update dependencies >>    - mt8365-gneio-350-evk's dts change (v5) >>     - >> https://lore.kernel.org/lkml/20230913032226.4092-1-macpaul.lin@mediatek.com/ >> >>    - mt8395-genio-1200-evk's dts basic support (v8) >>     - >> https://lore.kernel.org/lkml/20230914055145.16801-1-macpaul.lin@mediatek.com/T/ >> >>    - mt8188 platform's basic support (v4) >>     - >> https://lore.kernel.org/lkml/a4e1a80ebd19896410f50b0297e05dce06fb47cc.camel@mediatek.com/T/ >> >> >> diff --git a/arch/arm64/boot/dts/mediatek/Makefile >> b/arch/arm64/boot/dts/mediatek/Makefile >> index 22f362bbbdac..3262849c0f6b 100644 >> --- a/arch/arm64/boot/dts/mediatek/Makefile >> +++ b/arch/arm64/boot/dts/mediatek/Makefile >> @@ -54,5 +54,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += >> mt8195-cherry-tomato-r3.dtb >>   dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb >>   dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb >>   dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-genio-350-evk.dtb >> +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8390-genio-700-evk.dtb >>   dtb-$(CONFIG_ARCH_MEDIATEK) += mt8395-genio-1200-evk.dtb >>   dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb >> diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts >> b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts >> new file mode 100644 >> index 000000000000..ed6bbf0c15cc >> --- /dev/null >> +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts >> @@ -0,0 +1,880 @@ >> +// SPDX-License-Identifier: (GPL-2.0 OR MIT) >> +/* >> + * Copyright (C) 2023 MediaTek Inc. >> + * Author: Chris Chen >> + *       Pablo Sun >> + *       Macpaul Lin >> + */ >> +/dts-v1/; >> + >> +#include "mt8188.dtsi" >> +#include "mt6359.dtsi" >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> +#include >> + >> +/ { >> +    model = "MediaTek Genio-700 EVK"; >> +    compatible = "mediatek,mt8390-evk", "mediatek,mt8390", >> +             "mediatek,mt8188"; >> + > > ..snip.. > >> + >> +&i2c0 { >> +    pinctrl-names = "default"; >> +    pinctrl-0 = <&i2c0_pins>; >> +    clock-frequency = <400000>; >> +    status = "okay"; >> + >> +    touchscreen@5d { >> +        compatible = "goodix,gt9271"; >> +        reg = <0x5d>; >> +        interrupt-parent = <&pio>; >> +        interrupts = <6 IRQ_TYPE_EDGE_RISING>; > > interrupts-extended = <&pio 7 IRQ_TYPE_EDGE_RISING>; > > after which: > > Reviewed-by: AngeloGioacchino Del Regno > > Line 'interrupts-extended = <&pio 6 IRQ_TYPE_EDGE_RISING>;' has been fixed in v4 patch. Thanks! Macpaul Lin