Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4882121pjb; Mon, 27 Jul 2020 07:30:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHuGNfWeiW1yO98K+gV4N5soPANomQOkrqXElXLZqLV69V6je3W2AesX/XPMqca1R6f65Y X-Received: by 2002:a50:a6da:: with SMTP id f26mr11230264edc.4.1595860257551; Mon, 27 Jul 2020 07:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595860257; cv=none; d=google.com; s=arc-20160816; b=sp1wJzSR2Ia3ikU9f+AjBb4C7M2gtYZCyrSZil+01to5jwE+MOzEUwNxfDs+6AhRKd ybSDG6uKzadKTW2bRHK7RwIFxDtL1FNV/814WuOoBNiVSzMBdkJLcPqqHc2PzH1sqYb3 yaKadfkBXrks+6FYCZ4clnY63YL3V5fOLfWstUm9P0BegocYPT8PazXdAvxyvLL5LHhL yxLnWIiBNgyI6iAKaY7Ml+b0nmQz52tfSK5nhxrtHy6q4RjswzJJkyKiXp2zJXs2lwzt rm0+whZeCiBCCNKHaphanyd/0M4eJU8OM9CHbfFoRssz7+8xeTN7ZzKYKpF8HVMCACB/ jYfw== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DSWvMD7ubjIRqZf0oeo4BuI5gsn6grD76vRSmUt2WsQ=; b=ljqWXj+Z22xX+vwXVwLw8TC3f+fY7wbtItMrecoQrZYsjpksdQS7WDRLBPKSydX3/Y JO7pWGxhkZWeP4MrZHZeC0bkeO90WsBudDZAndXpUoRnKuEEieXwy38dDkOTuxGqm0HT 4RCmTaPwhWmbhKcgka9NfKJWHUWJcMJBvAcQrcjqYvubuTpCEvij/AoolraIHZZXwZSc 03BDKeNAkdFtrneHZRRAi97ACAQLUQso81qCJHOusNKegirhyxhgGi1KHz9J+z6zjCFS NMWKtFZWWxi7VEQH063ftI+lrHDmAnpSGWAImev6RJjPhf/D8WHM+blyRb8T0tTT79sJ uifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rkrtcbID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si5687488eds.213.2020.07.27.07.30.35; Mon, 27 Jul 2020 07:30:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rkrtcbID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732072AbgG0OXY (ORCPT + 99 others); Mon, 27 Jul 2020 10:23:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:52526 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732047AbgG0OXU (ORCPT ); Mon, 27 Jul 2020 10:23:20 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A154421D95; Mon, 27 Jul 2020 14:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859798; bh=iwmpauxY7ye7TKgOjmLPiQNamZ32rwVmIfVlNHkDXnk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rkrtcbIDrjXhLaki8H6HlcAL28MAQUvTejM3DdsWwBkt5Q+QrIcCZbQXRdgRYD3IQ 1g4FMU7ub00omtnQ69VkcMq/7GFay66D8bqcPNzEphewCHlqzI/oMi+miDSIfryP8d 4YFA/AhLBSg2S0MnSaFRtfwyprGCYhX/MWSfYqDk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Neil Armstrong , Christian Hewitt , Kevin Hilman , Sasha Levin Subject: [PATCH 5.7 109/179] soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 IDs Date: Mon, 27 Jul 2020 16:04:44 +0200 Message-Id: <20200727134937.964032133@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian Hewitt [ Upstream commit d16d0481e6bab5a916450e4ef0e1c958b550880c ] Correct the SoC revision and package bits/mask values for S905D3/X3 to detect a wider range of observed SoC IDs, and tweak sort order for A311D/S922X. S905X3 05 0000 0101 (SEI610 initial devices) S905X3 10 0001 0000 (ODROID-C4 and recent Android boxes) S905X3 50 0101 0000 (SEI610 later revisions) S905D3 04 0000 0100 (VIM3L devices in kernelci) S905D3 b0 1011 0000 (VIM3L initial production) Fixes commit c9cc9bec36d0 ("soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs") Suggested-by: Neil Armstrong Signed-off-by: Christian Hewitt Signed-off-by: Kevin Hilman Acked-by: Neil Armstrong Link: https://lore.kernel.org/r/20200609081318.28023-1-christianshewitt@gmail.com Signed-off-by: Sasha Levin --- drivers/soc/amlogic/meson-gx-socinfo.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c index 01fc0d20a70db..6f54bd832c8b8 100644 --- a/drivers/soc/amlogic/meson-gx-socinfo.c +++ b/drivers/soc/amlogic/meson-gx-socinfo.c @@ -66,10 +66,12 @@ static const struct meson_gx_package_id { { "A113D", 0x25, 0x22, 0xff }, { "S905D2", 0x28, 0x10, 0xf0 }, { "S905X2", 0x28, 0x40, 0xf0 }, - { "S922X", 0x29, 0x40, 0xf0 }, { "A311D", 0x29, 0x10, 0xf0 }, - { "S905X3", 0x2b, 0x5, 0xf }, - { "S905D3", 0x2b, 0xb0, 0xf0 }, + { "S922X", 0x29, 0x40, 0xf0 }, + { "S905D3", 0x2b, 0x4, 0xf5 }, + { "S905X3", 0x2b, 0x5, 0xf5 }, + { "S905X3", 0x2b, 0x10, 0x3f }, + { "S905D3", 0x2b, 0x30, 0x3f }, { "A113L", 0x2c, 0x0, 0xf8 }, }; -- 2.25.1