Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp78562lqk; Wed, 13 Mar 2024 17:20:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSGlzaMDzOZacHmgkO92WG577U88LBKGX/GmLK7hQ0DsBgGNasobCskm9/rkLioUBp2y+Y7eHqa8LZBp9GZ2WDjOVjucsDZFTQgiciug== X-Google-Smtp-Source: AGHT+IFHXUuUFSqhUTn5u+sWNWvsnR630kaRjnPcm9FkZmB/EJqnfPNi0fDXdGzbYFHOs3+0oJbn X-Received: by 2002:a2e:a592:0:b0:2d4:5a3a:de7c with SMTP id m18-20020a2ea592000000b002d45a3ade7cmr60272ljp.32.1710375601468; Wed, 13 Mar 2024 17:20:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710375601; cv=pass; d=google.com; s=arc-20160816; b=jw8FnNeifNZE67/cox2HIK1dBz0kkJt6FlT9V6gz2FFiPdTdGPno2jPE62QPX8BAsT EryAQbOAHa+JLZ4MiPcvFZfU4v7+yUoCB3ZJfHhuVqogyuIumIBAS2xAo+ooUEOWok94 i9mkY43GJnJl1zygD2sfwLiTVP2H7KmNb4/rc49qqOTn/4j//ZVHOIhv8jnsteCDkQ/E Hn6LWKw/14eVLs7kBX0OMyM5MkouJ+4U1OcuEPcr2mswt+uiulgmID1Wg5i1/EtRDCLM 4QbnF45VO87DVnMtbP7F8gxeZTdHoOiDsxm25YEGF7e9IF3ulGQKTK7zRgIR2auZJ0eM pRyg== ARC-Message-Signature: i=2; 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=gi5lOB1225/Tw8XwtTr9JJ7GO1qiwL+V+pPIt5VxhD4=; fh=FHLZgexC0AcgER7YdcdiG037MSjKhgt2Z/poLxTNeCI=; b=Or0QShNzoxONRQqMbfNrG2MtVtAZL+QR52sEohPlo7jm1W+stpbF/yYk/5+MCJ24j6 mefewVpso7dMpCT67zuqyZmx+uLM0hDI/Scbnlt0GxssCq+cmke5hErRXH6uV5Co9TnC N7SY1GCybT1qFtN7dCfA9wRMn3bKx2pKsHEl3OVy/mqEDEgCjn20DOPZXK4YmOPcTw7l mWCJVq/q97TMwZuATCN75IoPq0sGxc6AS3ln47oixURrIaU50O8JmCq8nbRl9gHumuu6 2ZcBblZmCTrn7biu4EfSE/o15KIWHeJWMUCd5l0t8E8YqsuE/QEVcQnJVylO5G0LiZvR Kg3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PGUsA55i; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 fj9-20020a0564022b8900b00568386368c5si144507edb.690.2024.03.13.17.20.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102670-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=@gmail.com header.s=20230601 header.b=PGUsA55i; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 07B7C1F22F9A for ; Thu, 14 Mar 2024 00:20:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4329129A2; Thu, 14 Mar 2024 00:19:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PGUsA55i" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4EC57F for ; Thu, 14 Mar 2024 00:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710375594; cv=none; b=lsk5grUgDCNk0ykmoTuVMbNisMXfWD+V1AYT1WZrwRnzwjE2ejMwMr4C4McB+WaKz92N8Ps6vvUGIiJb9JHNMgld0ZcpYKDW1DgijCph76z5EnJ/J5M6nwFHi5Or+m95w9CZXgvVBZa5lglZJ+LgwTq2CsV6JvuTz9M9dbC+zU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710375594; c=relaxed/simple; bh=cvjr7vOFozIDWWTn3qQ7zeEQs6nDG0RhTHwjCwCkPzM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V5d9oPbnkeGSLWanfrueLgtkQd2ow3eFvVnX3vg5Owv1bsp5IKIDQKyz7aMjN3dulKBp5O8xaOerbnFtaVJOS+CyUUvr+AtZiZVNVSH1QxS9NT4DZvLYI9y7/9kr+UyvGNst8MDwA3E/5Cv/t6ljTLmt2M+54qDk/D/VlwESS1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PGUsA55i; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5649c25369aso424530a12.2 for ; Wed, 13 Mar 2024 17:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710375591; x=1710980391; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gi5lOB1225/Tw8XwtTr9JJ7GO1qiwL+V+pPIt5VxhD4=; b=PGUsA55iiIG18K5HenPo05/T1yvQlXcwCuGE504hxUq2UFKzLNZv7urWADDXRC3Nuu nSBr7/ZTvgzaPNTtDbXtSU0Mv8TA1GlWd/RfCTbFSxaZUXWZ7mQLAB7bSKiPt4bYS2QM rxTOakW4e3s5QNFc1ww9+TSk+jf48skmuR/sBs90h8gAmJjmNNyC5M+yeLYkbJJofqbG p41dD+4FaogazH6tAVbkOXUQWwTU4VjKrVcohdwkjmcLOBNHt/MhYPeA24XpaN0GFfgM fhED+OkPP7Y1cA4/9nr4NeL6W9zE/HFcykX3OT6qyVeEMSkgdP4rv7BK4ciunLd9F9Mh gV6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710375591; x=1710980391; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gi5lOB1225/Tw8XwtTr9JJ7GO1qiwL+V+pPIt5VxhD4=; b=Vrrd6POZ9QqgBHZ6UClG1xfV8r/aSIjgGnySWA/SloGhfN2HR7iZoZWfYZZpCL63++ yvHiS61CBOu9P12mY2vjPm4naHIr/JZxw7BzPMdL0P1d6aZp5rH+S7Ly4ZYet91m0gLa i4/3srdPw20sjdxW6q51kCkIXJO6BV3vDJtJDlmXF1Z1O4VWabtmmOMLiI//AqpezRZ2 ILo6GkijYGIdQUNFM3PU8BPlNjNXDPOwmOzs8E69ZXV7W8U3doJ6UuZvSjW3A6Dyzr3p e6eYSCFW3S/0vqW8DK0QbDockThwgHNKa6VsiUqBPmFmTO27TnRPP9sb9GAUuOLqnQLY jdRw== X-Forwarded-Encrypted: i=1; AJvYcCXFQ/I3H2Ku/8klDVXriIQ14x0u16Z/NZJC5xTGjcP0zhpp5dhCX/QfF6yflrRj3OIbLajuSQ/RDeY65ZVbWGJFvljbKMU/Pmn0Etbc X-Gm-Message-State: AOJu0Yxwzb56MGSCJH9ksq+BYsjowlN/iKVLIJeTIRi+OOAEM6A4//Gd Mp9pCjmXZUz8WwPaN3ajyTK55qZ2Y//PIp0+YJw3qg4rHeeZHRKv X-Received: by 2002:a05:6402:1f12:b0:568:3362:ccdc with SMTP id b18-20020a0564021f1200b005683362ccdcmr67312edb.16.1710375590783; Wed, 13 Mar 2024 17:19:50 -0700 (PDT) Received: from [192.168.100.117] (89-76-44-138.dynamic.chello.pl. [89.76.44.138]) by smtp.gmail.com with ESMTPSA id b70-20020a509f4c000000b00567c34d8a82sm141815edf.85.2024.03.13.17.19.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 17:19:50 -0700 (PDT) Message-ID: <55eda2c6-1bca-463d-a908-1887543a47a5@gmail.com> Date: Thu, 14 Mar 2024 01:19:28 +0100 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 0/3] dts: arm64: sunxi: add initial support for t95 tv box Content-Language: pl To: =?UTF-8?Q?Jernej_=C5=A0krabec?= , Andre Przywara Cc: wens@csie.org, samuel@sholland.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org References: <20240311174750.6428-1-ressetkk@gmail.com> <13468418.uLZWGnKmhe@jernej-laptop> <20240313173808.38d893b5@donnerap.manchester.arm.com> <8344274.T7Z3S40VBb@jernej-laptop> From: Kamil Kasperski In-Reply-To: <8344274.T7Z3S40VBb@jernej-laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Jernej, Andre! Thanks for the reply. My board has a name "H616-T95MAX-AXP313A-v3.0". I believe these boards are two different revisions and the one with AXP313A is a newer one, besides incorrectly label as v3.0. Sharing common configuration between boxes is also a good idea but for this specific configuration I would be cautious. From my experience with this board the default configuration for X96 Mate is not working at all. I suspect because of the PMIC and DRAM differences. Memory installed in X96 Mate is DDR3L and in mine T95 it's DDR3, hynix H5TQ2G43BFR, that requires 1.5V to operate. The rest of configuration for both boards, like HDMI, MMC, EPHY and audio codec seems to be the same across almost all H616-based boxes that I've researched. Moreover please let me update the patches and send v2 that aligns with mainline branch. I've incorrectly assumed to use sunxi fork instead of master. Sorry! W dniu 13.03.2024 o 19:00, Jernej Škrabec pisze: > Dne sreda, 13. marec 2024 ob 18:38:08 CET je Andre Przywara napisal(a): >> On Wed, 13 Mar 2024 18:25:14 +0100 >> Jernej Škrabec wrote: >> >>> Hi Kamil! >>> >>> Dne ponedeljek, 11. marec 2024 ob 18:47:47 CET je Kamil Kasperski napisal(a): >>>> T95 is a most commonly known for being a box with a pre-installed malware. >>>> It uses Allwinner H616 and comes with eMMC and DDR3 memory. >>>> This device comes with two versions - one with AXP305 PMIC and another with AXP313 PMIC. >>> I have this board and it always felt like a clone of X96 Mate, which is >>> already supported in kernel, except for broken sd card detection. Would it >>> make sense to unify those two boards and just overwrite or update parts here >>> that are not the same? >> I think the box you have is an older one, with the AXP305? IIUC, this is >> about a newer revision with the AXP313. There are quite some differences >> between the two PMICs, though it might still make sense to share the DTs, >> see the OrangePi Zero[23]. > Right, mine is with AXP305. It has "T95MAX v4.0" printed on PCB. > > Kamil, does your board also have "MAX" mentioned somewhere? > > Best regards, > Jernej > >> Cheers, >> Andre >> >>>> Kamil Kasperski (3): >>>> dt-bindings: vendor-prefixes: sunxi: add T95 to vendor-prefixes >>>> dt-bindings: arm: sunxi: add t95 compatible string to list of known >>>> boards >>>> dts: arm64: sunxi: add initial support for T95 AXP313 tv box >>>> >>>> .../devicetree/bindings/arm/sunxi.yaml | 5 + >>>> .../devicetree/bindings/vendor-prefixes.yaml | 2 + >>>> arch/arm64/boot/dts/allwinner/Makefile | 1 + >>>> .../dts/allwinner/sun50i-h616-t95-axp313.dts | 138 ++++++++++++++++++ >>>> 4 files changed, 146 insertions(+) >>>> create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-h616-t95-axp313.dts >>>> >>>> >>> >>> >>> >>> >> > > >