Message ID | 20210407171637.777743-25-clg@kaod.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp669645jai; Wed, 7 Apr 2021 10:33:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfz+A52awteoL/4b8QBlKfiWapDFPDgvnP4b7ZyOQpyb31uhwp3CwYqmekNr5q+QvWZpUL X-Received: by 2002:a92:c80e:: with SMTP id v14mr3489944iln.138.1617816804062; Wed, 07 Apr 2021 10:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617816804; cv=none; d=google.com; s=arc-20160816; b=oM461RzNFO0Mt9la4qdD+AP+Zz5qrwfg46w3pP4Td/U3D7qz4eKScIjcalSrcZ6kFi d1AriqQV0ZsxkHAWSWagaGONBabC4+jVF282hDKObFTPDWL+JsyRp44DbHvxVf5i4AP+ X/amfT62A04nerN6D4ERYCVD0cRbSoPmdFsCoACDSOu8+TCNfFzOQbrxNRUocF0Y62R7 oGdK1If5pvNQQH6RmI2WQauO6pwhnm66Jf3BiTZVrgpRfH6cqKk9I674HyJHrbwfDiI9 wCOfMJwAATwuWHxQait/u+7tscCSnvHeOm1dt+RgM/s2ejLGfHelLGfRmNjngJm+FZ5m Q7GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=hU9pMjRw6gryaTd4yJIGpQvgObcnuOwmadI5qIDlAXU=; b=nNVhCiEz0pfFQQpF8b0HLn75XVkMht/Y7WfaeOKmggJWcoGrvt8R8pxtqIHjh5hPtb ZL9jgupUTZwIEQI31mODGiVC0GkprLlQWXKIy/5v6y0YW/3mfxlmRBZEyn4vj0jt1c6X wI/nmEvEQZAmU2n5FlDOK8LDC3ePuNiQuiinGoz1UPM67q5Zu0FiXuohxeu9RAe91DcC DFhMvyXOzjJbKYJ1euEQH081bAAfLsRyhZoUaXuR5fxlP3ZKqvBKZcwB2SkYJP67TWTK nT+U/7fhoUM4/Vtgk0x2Psi6plKbUBaM2wzfLAuqm889AsPqpCBBs7sHDUXCxLEDENUV RvpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a12si11744318iln.40.2021.04.07.10.33.24 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Apr 2021 10:33:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:42462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lUC3P-0003N5-Fz for patch@linaro.org; Wed, 07 Apr 2021 13:33:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <clg@kaod.org>) id 1lUBo8-00007x-Av; Wed, 07 Apr 2021 13:17:36 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:30258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <clg@kaod.org>) id 1lUBo6-0006qh-40; Wed, 07 Apr 2021 13:17:35 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 137H2x4t084037; Wed, 7 Apr 2021 13:17:02 -0400 Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com with ESMTP id 37rw7jr9s7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Apr 2021 13:17:01 -0400 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 137HCddD008080; Wed, 7 Apr 2021 17:16:59 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma01fra.de.ibm.com with ESMTP id 37rvmq8fmt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Apr 2021 17:16:59 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 137HGvsC39977386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Apr 2021 17:16:57 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20BF5A4053; Wed, 7 Apr 2021 17:16:57 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DCC8CA4040; Wed, 7 Apr 2021 17:16:56 +0000 (GMT) Received: from smtp.tlslab.ibm.com (unknown [9.101.4.1]) by d06av23.portsmouth.uk.ibm.com (Postfix) with SMTP; Wed, 7 Apr 2021 17:16:56 +0000 (GMT) Received: from yukon.ibmuc.com (unknown [9.171.70.229]) by smtp.tlslab.ibm.com (Postfix) with ESMTP id 440E92200C7; Wed, 7 Apr 2021 19:16:56 +0200 (CEST) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org> To: Peter Maydell <peter.maydell@linaro.org> Subject: [PATCH 24/24] arm/aspeed: Add DPS310 to witherspoon Date: Wed, 7 Apr 2021 19:16:37 +0200 Message-Id: <20210407171637.777743-25-clg@kaod.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210407171637.777743-1-clg@kaod.org> References: <20210407171637.777743-1-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-GUID: sH2hhSQqhkOdGK9A6jT8lWukPZdVvhn8 X-Proofpoint-ORIG-GUID: sH2hhSQqhkOdGK9A6jT8lWukPZdVvhn8 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-07_09:2021-04-07, 2021-04-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1034 mlxscore=0 mlxlogscore=967 malwarescore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 adultscore=0 priorityscore=1501 spamscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104070116 Received-SPF: softfail client-ip=148.163.156.1; envelope-from=clg@kaod.org; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Andrew Jeffery <andrew@aj.id.au>, =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>, qemu-arm@nongnu.org, Joel Stanley <joel@jms.id.au>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index 96782269b220..c1e1434a3770 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -521,7 +521,6 @@ static void witherspoon_bmc_i2c_init(AspeedMachineState *bmc) /* Bus 3: TODO bmp280@77 */ /* Bus 3: TODO max31785@52 */ - /* Bus 3: TODO dps310@76 */ dev = DEVICE(i2c_slave_new(TYPE_PCA9552, 0x60)); qdev_prop_set_string(dev, "description", "pca1"); i2c_slave_realize_and_unref(I2C_SLAVE(dev), @@ -536,6 +535,7 @@ static void witherspoon_bmc_i2c_init(AspeedMachineState *bmc) qdev_connect_gpio_out(dev, pca1_leds[i].gpio_id, qdev_get_gpio_in(DEVICE(led), 0)); } + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 3), "dps310", 0x76); i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 4), "tmp423", 0x4c); i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 5), "tmp423", 0x4c);