Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1551106ybe; Fri, 13 Sep 2019 19:34:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxpbcDzjYRFZj/vpyz7KbUnbtKP11WKIiwO5ARRQXdnxZ7iMls9uiSvsUp3Mlp9up3O3tV X-Received: by 2002:a50:de08:: with SMTP id z8mr12691839edk.121.1568428492689; Fri, 13 Sep 2019 19:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568428492; cv=none; d=google.com; s=arc-20160816; b=EnP9NMFKbwCbDvp+3KcZli+o5SNXIigdxx0N3yz3PPTpiDdg8wHThi85GEDwSsk/a0 E+tIKGoHvxYsTJymBNWsEOskyWXwJELBo6OjVIvxZQlMqCvYWk2b3SP/0iBEaN7bR/mt 0J8HBlfkU1X/BJ0h5eXF3bZvKME+pR4DZbHtPULNJpVSu5O4VFpSksr4K+QxSYLrQ/5T RVrsrQ6IxAvXJdbWVKeJLpXCJvUBJ2vV8t0OsvlxK1e1nQipfkBHw57A+KaknMWy9LMc 2SRCzxqIdx9IWfiyHeQgAi1p+yfVUK0zY/x45pEaXSPNelT2++lbLXl3I7BSG435Xeqh DETA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=XSYaB16my98JLEE0XLjMHi1hsrnVMtm37XYFBMacoEU=; b=lw9NWNHWpRR3YE0pcs+wlImWCXLGNyWDpLl4OXwfrNQ2/+yaAe6H3/pkNggP/soMcn kBqOvxU+xGtYB45ugmppBDYhImy2H3XBiJgLEtjq0wWyQWHIgnrJC6pbI0KBoDGTXsWv E0Bip8rIw2f7CpMV2IkQ+h0sO37mzYQYUB5EtJoIGeQqZi2CdSeEOM27aA76YzhYQKQg tAcOEqneChdDhdZVNSoANUJej3aBayhxLvp50QT5j1AHBlk4PReQyl4acGU2Y3iOsWy5 4BQVGx/ecJUxbMlhP4LPCxNdrbdgiONdFLhbqLswKFJCvn0FWKxpNm5kKK1/Y4Pfgx1q 7TGg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o9si15550433ejb.68.2019.09.13.19.33.50; Fri, 13 Sep 2019 19:34:52 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390394AbfIMQfh (ORCPT + 99 others); Fri, 13 Sep 2019 12:35:37 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41320 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387822AbfIMQfg (ORCPT ); Fri, 13 Sep 2019 12:35:36 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x8DGWU33018846; Fri, 13 Sep 2019 12:35:22 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2v0ck5d7qt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Sep 2019 12:35:22 -0400 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x8DGYhHg038454; Fri, 13 Sep 2019 12:35:21 -0400 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 2v0ck5d7q1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Sep 2019 12:35:21 -0400 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x8DGYsT5008656; Fri, 13 Sep 2019 16:35:20 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma01wdc.us.ibm.com with ESMTP id 2uytdx08ns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Sep 2019 16:35:20 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8DGZKoV53805382 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Sep 2019 16:35:20 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 05E9BAE06A; Fri, 13 Sep 2019 16:35:20 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2F0FBAE060; Fri, 13 Sep 2019 16:35:19 +0000 (GMT) Received: from talon7.ibm.com (unknown [9.41.179.222]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 13 Sep 2019 16:35:19 +0000 (GMT) From: Eddie James To: linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, brendanhiggins@google.com, joel@jms.id.au, andrew@aj.id.au, robh+dt@kernel.org, mark.rutland@arm.com, benh@kernel.crashing.org, Eddie James Subject: [PATCH 1/2] i2c: Aspeed: Add AST2600 compatible Date: Fri, 13 Sep 2019 11:35:09 -0500 Message-Id: <1568392510-866-2-git-send-email-eajames@linux.ibm.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1568392510-866-1-git-send-email-eajames@linux.ibm.com> References: <1568392510-866-1-git-send-email-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-09-13_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=978 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909130167 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver default behavior works with the AST2600. We need a new compatible though to make sure the driver doesn't enable AST2400 or AST2500 behavior. Signed-off-by: Eddie James --- drivers/i2c/busses/i2c-aspeed.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/busses/i2c-aspeed.c b/drivers/i2c/busses/i2c-aspeed.c index fa66951..c2a6e5a 100644 --- a/drivers/i2c/busses/i2c-aspeed.c +++ b/drivers/i2c/busses/i2c-aspeed.c @@ -938,6 +938,10 @@ static int aspeed_i2c_reset(struct aspeed_i2c_bus *bus) .compatible = "aspeed,ast2500-i2c-bus", .data = aspeed_i2c_25xx_get_clk_reg_val, }, + { + .compatible = "aspeed,ast2600-i2c-bus", + .data = aspeed_i2c_25xx_get_clk_reg_val, + }, { }, }; MODULE_DEVICE_TABLE(of, aspeed_i2c_bus_of_table); -- 1.8.3.1