From patchwork Thu Jan 12 03:54:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 714194 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tzX3R6Rwbz9sXx for ; Thu, 12 Jan 2017 14:55:31 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mhGBFy1w"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3tzX3R4LsVzDqGD for ; Thu, 12 Jan 2017 14:55:31 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mhGBFy1w"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tzX2J3yvVzDqKw for ; Thu, 12 Jan 2017 14:54:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mhGBFy1w"; dkim-atps=neutral Received: by mail-pf0-x244.google.com with SMTP id f144so1309102pfa.2 for ; Wed, 11 Jan 2017 19:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HvUIiAIQZ02BfDZji+la60v0X9aMSuJ1m88XbDcjKiE=; b=mhGBFy1wkb0lTMaPyAfd3sgMjSM5795W4SIjeDm04sBA0TrOdZrUptM73iPoYRgr3O ONK5InrjNBMmdR/HAnTeuUSNd+ZfHr26GbSNTN3pdV3zlFww101kHpGA6uAj2/AiBnW8 rin7vtftwqw5Kq5z6yV4roB3xEt1XXz1vPKfytH/HunvTGbq5le704gwFIo2m1NgEe7o gGs2oKatzC/VOs1iu/cZBj9sLBcpqe61GzKlPPEuWoW2kR7y8fShNkw9XLD1e+rjOyEH N9+CBSJbLFITpO2+UcNiGbPcdefaa8U2tTGypMlVzc3N4ILMxefO9eUYvmpmiwSZ3+S5 U4Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=HvUIiAIQZ02BfDZji+la60v0X9aMSuJ1m88XbDcjKiE=; b=OC4hRVcOdro4QVw00QL+rZBgxj+FTYW5kg2DjD9GsMXblMmd1MuYhFudyaDa0P5dUx izJbYRjkHasm8UlUi1etvm4luYPsK992rKP5gcOddvbd510kt4B8YWSVetvgZegTOWE6 xTBpVgElDyI49sKY8B16sDTSsZhaDeHtCi5YoMU/6bqOcH6AfWAjN9wA2sEkaiJcalqg 87BciETiO9Fi3HpDFy70xI5I9hMDA2STGsSe1HuAtLE/eJNWvXTwAlKxRtaDcJhZVFxh t88xl2YqWnIG3adCt67cuPBnd9+bCuvsoVV6YIeMDRBjJr5+L8lbS7MnKYmq4Dhaqxbc jMpQ== X-Gm-Message-State: AIkVDXLOVggoSnzl38EA8pOwF1QQNJKO3sc1QnJHMHcCDONdmBz5Tq7O3eFqC0ShvP4zyA== X-Received: by 10.98.220.139 with SMTP id c11mr14071441pfl.96.1484193270995; Wed, 11 Jan 2017 19:54:30 -0800 (PST) Received: from flat-canetoad.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id r78sm16971004pfe.55.2017.01.11.19.54.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 19:54:30 -0800 (PST) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Thu, 12 Jan 2017 14:54:02 +1100 Message-Id: <1484193253-25307-3-git-send-email-oohall@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484193253-25307-1-git-send-email-oohall@gmail.com> References: <1484193253-25307-1-git-send-email-oohall@gmail.com> Subject: [Skiboot] [PATCH 03/14] hdat: Add P9 compatible property X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" From: Vasant Hegde Add p9 compatible property for various nodes. Signed-off-by: Oliver O'Halloran [oohall@gmail.com: remove ibm,power9-nx compat] Signed-off-by: Vasant Hegde --- hdata/spira.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hdata/spira.c b/hdata/spira.c index a19b4db92a8a..5c122398cc2e 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -258,6 +258,10 @@ static struct dt_node *add_xscom_node(uint64_t base, uint32_t hw_id, dt_add_property_strings(node, "compatible", "ibm,xscom", "ibm,power8-xscom"); break; + case proc_gen_p9: + dt_add_property_strings(node, "compatible", + "ibm,xscom", "ibm,power9-xscom"); + break; default: dt_add_property_strings(node, "compatible", "ibm,xscom"); } @@ -578,6 +582,9 @@ static void add_chiptod_node(unsigned int chip_id, int flags) case proc_gen_p8: compat_str = "ibm,power8-chiptod"; break; + case proc_gen_p9: + compat_str = "ibm,power9-chiptod"; + break; default: return; }