Received: by 10.223.185.116 with SMTP id b49csp6099995wrg; Thu, 8 Mar 2018 01:38:15 -0800 (PST) X-Google-Smtp-Source: AG47ELstqcQdDVe2VleqZCOxCKjmAbOGjk34DGe0ZTYqV15VVo7NV5lkBaKeS5d60GN8v2U3ZUCA X-Received: by 10.99.116.28 with SMTP id p28mr20779822pgc.306.1520501895764; Thu, 08 Mar 2018 01:38:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520501895; cv=none; d=google.com; s=arc-20160816; b=NyHdm7tExIOuGWTeSrI8z5vp84jcRvXM2o7OCWAIhzxw8fHLLTKyFlXsBpXRA9Nrp2 in7huA0W2rUXr0ZRLMfdFp48RLmJPQX1GZSseN7UIj/2gWceF90GcxzLoSuZkKfiotTk 8WH1RwR1PRAGAHdhbj5FQ6lZ7X2v/JznBrAXOqUMYZKSmyYVfIQXMUYDj/id2weMdKaS xap5LXUAGCwZxtj1nDiPPRV7ao7EnNnO+PTw94m1tdq02s9bsCazRryIH+bB95qkGf1J wRqHg+fb4MgVxLNsNQZVXv89GCPm5K6EgDgyStZwAup58g3HVGBZbnL6lZ6FtfpchLj2 xJ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=5/DPdLZRqqZaggBCpjqAEgNulFP+JIeMetU87HfXQQE=; b=s0B3Sf8oBsveLtUGujxrqdrcoMxeDdHzaMqZKoTgCDsLZHXrgKSVX84DAE+EK+vfwi ygJ3mePtRxM740kwLPCCWXpa36NyMz7ofYNeKi0cnsM3Mc/lulglvaVASUoWAyIF0qNK gAkRoQm+LEzG2bL4JiwjHaoqnHakIGD6hID3nJAdAopaRgkiEiAkhHBaUoXh3mYZkNt6 geUWbAnYqTypjKjRy/fRpno3Wm6IUqidBq5jThzzUiOLVNI6hRSI4IVWy5llwdqfdZUI /yEpskvxAdPwDw8MTQvRwvdcTu5GfrH7yo+vJmwb2Rl/Rp7th5fR1FsL4ZyZNTXIy6iU mJnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QdGKoHRG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si12629923pgt.106.2018.03.08.01.38.01; Thu, 08 Mar 2018 01:38:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=QdGKoHRG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934944AbeCHJgk (ORCPT + 99 others); Thu, 8 Mar 2018 04:36:40 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33666 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755229AbeCHJgh (ORCPT ); Thu, 8 Mar 2018 04:36:37 -0500 Received: by mail-wm0-f68.google.com with SMTP id s206so26473985wme.0 for ; Thu, 08 Mar 2018 01:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5/DPdLZRqqZaggBCpjqAEgNulFP+JIeMetU87HfXQQE=; b=QdGKoHRG+Big7N8PbJcJ7DWA6gkLBsqIQeiMwFLQNUzF2Di1LcsRYLRZB8lqHaa4B4 GZwZiSymXliTw60oB0xD2YJgXaZH1gTGIJOvTjqTNWAPV9Cb04vImvNDy+1w6mSPEXHw h06jqllUr7S+rIZXtLK1o1NayJ7lk4/w0RSbWHwPLwC7SE8NO9wt+5xdRCLpqwDjAeAQ Wz/XQOkS9dE2F87FHzHPE3mefLDmaT67u3blkDoRa78DbUNwct0+SxBc3laa6NvsK2pl Czukcp3T+eyTSLJ5wY+Eb3RPbwIMhI2naDCRfFUNVvpYd1KNrDpUZyb0eQcQEoH7IgJc CbYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=5/DPdLZRqqZaggBCpjqAEgNulFP+JIeMetU87HfXQQE=; b=hIBxvh3ZCMIxwIYTLOcRRinaoz3KFwj1THn/OO3jXdvnNNmDUXKjDtwalTQyVXYk7s /oe/oswgTIpj5RnZ1YERcS8DxgbmAj8uYYYx5ugPakVyJO0JfwiBwIPraxFmYGAVmkX4 4IvGJhYP/6qkGrVTaq7t6Sl2E6sXaLt2jfxSVAHZ2rqdUOoFzKU2X6X51rcb2RwfrmpM qK/c0wDs9owGpm/OHuXD5z1Khmub4CsZcmH51MDst1w2NjXMys1WRUux2ATnTnGTqzUo rYrPL81UBS/wHN8AsICKT3QaExJ4AitiecBp8tfXYwgo7q6plIBoDiN6ZVNQ5E6oBtzK DMZA== X-Gm-Message-State: AElRT7GvoT3y1wVZ5I49ZKVSjBhiafAhu58IXOtiOlv2ILesbA5ZTTkf NxJVHplvi6wRhWwUBb9dl6lioeWsfRE= X-Received: by 10.28.88.15 with SMTP id m15mr18395116wmb.0.1520501796188; Thu, 08 Mar 2018 01:36:36 -0800 (PST) Received: from [10.1.2.12] ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id b30sm37097569wra.34.2018.03.08.01.36.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 01:36:35 -0800 (PST) Subject: Re: [PATCH] amlogic: meson-gx-socinfo: Update soc ids To: Kevin Hilman , Jerome Brunet Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1518620335-17716-1-git-send-email-narmstrong@baylibre.com> <1518689694.2883.68.camel@baylibre.com> <7ho9jzgyr2.fsf@baylibre.com> From: Neil Armstrong Organization: Baylibre Message-ID: <37263741-e817-9a48-615e-13c5b1e2cec0@baylibre.com> Date: Thu, 8 Mar 2018 10:36:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <7ho9jzgyr2.fsf@baylibre.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kevin, On 08/03/2018 02:08, Kevin Hilman wrote: > Jerome Brunet writes: > >> On Wed, 2018-02-14 at 15:58 +0100, Neil Armstrong wrote: >>> Updates the Amlogic Meson SoCs IDs for the Armv8 based SoCs. >>> It includes the new families and packages. >>> >>> Signed-off-by: Neil Armstrong >>> --- >>> drivers/soc/amlogic/meson-gx-socinfo.c | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c >>> index f2d8c3c..a7efe30 100644 >>> --- a/drivers/soc/amlogic/meson-gx-socinfo.c >>> +++ b/drivers/soc/amlogic/meson-gx-socinfo.c >>> @@ -33,6 +33,10 @@ static const struct meson_gx_soc_id { >>> { "GXL", 0x21 }, >>> { "GXM", 0x22 }, >>> { "TXL", 0x23 }, >>> + { "TXLX", 0x24 }, >>> + { "AXG", 0x25 }, >>> + { "GXLX", 0x26 }, >>> + { "TXHD", 0x27 }, >>> }; >>> >>> static const struct meson_gx_package_id { >>> @@ -47,6 +51,10 @@ static const struct meson_gx_package_id { >>> { "S905L", 0x21, 0xc0 }, >>> { "S905M2", 0x21, 0xe0 }, >>> { "S912", 0x22, 0 }, >>> + { "962X", 0x24, 0x10 }, >>> + { "962E", 0x24, 0x20 }, >>> + { "A113X", 0x25, 0x37 }, >>> + { "A113D", 0x25, 0xd0 }, >>> }; >>> >>> static inline unsigned int socinfo_to_major(u32 socinfo) >> >> Tested on my s400 board which, according to the marking, features an AXG A113D. >> AXG is detected correctly but the package id read is 0x22 instead of 0xd0. > > Neil, can you update accordingly? Have you seen 0xd0 on other A11x > chips? or is this from the docs? I got it from the Amlogic lastest Linux and U-boot code. I will set 0x22 and squash the "meson-gx-socinfo: Add package id for S905H" patch, is it ok ? > > Kevin >