From patchwork Wed Feb 27 18:37:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Przemys=C5=82aw_Gaj?= X-Patchwork-Id: 10832215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E27BA1390 for ; Wed, 27 Feb 2019 18:38:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D19AD2A6F0 for ; Wed, 27 Feb 2019 18:38:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C57332E5D4; Wed, 27 Feb 2019 18:38:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 14ED32A6F0 for ; Wed, 27 Feb 2019 18:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nZMZvTR/5LzqzhL3sgdgMOjko/RS2989FF57p/XsPgE=; b=VHHN603PKSDF46 9ztqFSlpGIpjAqXYY6bn2YwDmi8pibiO4167i99RiFstTcpNSgd/4U9CLQAvqObTK75tF0WXlLAue I+2uaO3L6OnyzuWgeVXb0cItisqvrMNe84PDHfEI/QwXqKSB4kyoC3dlUK+XNM3Bqi5fhLJin5VnY Y62hVMcBkfwxsL2SIZcNX5vhdBjCATKOv5hWZBELttYAQDuP/MCO+S03pEP3KtoW6jRdGe5iesNiG xqzGlHpgcjUmx2/4MZSp5HfJDf8RDI5OpWwVvtK3Fo31nv1THu3L8X6P8vkONCBuwK8xnmP8zQv5x 7gpOndBbgVm2QjbWCxvw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz45z-0006MH-Cu; Wed, 27 Feb 2019 18:38:19 +0000 Received: from mx0a-0014ca01.pphosted.com ([208.84.65.235]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz45w-0006L7-9o for linux-i3c@lists.infradead.org; Wed, 27 Feb 2019 18:38:17 +0000 Received: from pps.filterd (m0042385.ppops.net [127.0.0.1]) by mx0a-0014ca01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RISYM6032296; Wed, 27 Feb 2019 10:38:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=kr+09019aWorNo9bPr/+2Pt8aPrFRvmBMWN7SMIr50s=; b=EtD701/R7hLoNcKbICMHDkYQiKpkqBROkGPzzSIwh0heyhG9az2WqFAbtHbaueK6DzkE QGpsA18oCcXdKnyBkvSXOJa+qxTzjW7dLNJ4mTGMK7v6g/Pl6haFvJdPk8ozjDH5DXie E2KXk5EERfFb8RLLyfDxq4vOvUl32Ce5WTAFjzhHOppKLc9gFachbHhF/Lhph50T62c+ yNKj54M322HYHEb9rTILMF77W2WQ2WMYVxtdiostWmwaGKGOgZeaOB5BIveOL+9Xc0Rb vnbZCbbWXvcVZA4uedXj33ItpC+Vg3QqUtLDf49+gx9h9MMF1fhv1y/N3dg4qOcAbV5I +A== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam05-dm3-obe.outbound.protection.outlook.com (mail-dm3nam05lp2051.outbound.protection.outlook.com [104.47.49.51]) by mx0a-0014ca01.pphosted.com with ESMTP id 2qw9jq5tat-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 10:38:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kr+09019aWorNo9bPr/+2Pt8aPrFRvmBMWN7SMIr50s=; b=brhmbmkOp15JE2qhiEDANGdMt4ZuKfNsGwXVCkRLEEnHseRTO7fajY1maKGzsDMcQOmuIMYHsWesFVGjPmAeUxGEAN3L4GeK3kuvPWhfjpUr7YrKINUSCLMKjjtAkATlPQgqyTHpzcPCEMJLXShOu4hsSAyxKAn1HvJcn68nCfc= Received: from BYAPR07CA0034.namprd07.prod.outlook.com (2603:10b6:a02:bc::47) by DM3PR07MB2252.namprd07.prod.outlook.com (2a01:111:e400:c460::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.18; Wed, 27 Feb 2019 18:38:11 +0000 Received: from BY2NAM05FT060.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::201) by BYAPR07CA0034.outlook.office365.com (2603:10b6:a02:bc::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1622.19 via Frontend Transport; Wed, 27 Feb 2019 18:38:10 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 199.43.4.28 as permitted sender) Received: from rmmaillnx1.cadence.com (199.43.4.28) by BY2NAM05FT060.mail.protection.outlook.com (10.152.100.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Wed, 27 Feb 2019 18:38:10 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by rmmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc5n6029387 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 27 Feb 2019 13:38:07 -0500 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 19:38:04 +0100 Received: from lvlogina.cadence.com (10.165.176.102) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 19:37:58 +0100 Received: from lvlogina.cadence.com (localhost.localdomain [127.0.0.1]) by lvlogina.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIbv2p016020; Wed, 27 Feb 2019 18:37:57 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x1RIbvVf016019; Wed, 27 Feb 2019 18:37:57 GMT From: Przemyslaw Gaj To: Subject: [PATCH v3 1/4] i3c: Drop support for I2C 10 bit addresing Date: Wed, 27 Feb 2019 18:37:47 +0000 Message-ID: <20190227183750.15367-2-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190227183750.15367-1-pgaj@cadence.com> References: <20190227183750.15367-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:199.43.4.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(396003)(346002)(2980300002)(36092001)(189003)(199004)(68736007)(26826003)(50226002)(8936002)(81166006)(81156014)(87636003)(478600001)(6666004)(305945005)(2351001)(106466001)(316002)(1076003)(47776003)(97736004)(356004)(8676002)(16586007)(5660300002)(76176011)(42186006)(54906003)(51416003)(86362001)(446003)(50466002)(11346002)(476003)(2616005)(486006)(186003)(426003)(5024004)(14444005)(126002)(2906002)(69596002)(48376002)(6916009)(107886003)(105596002)(53936002)(4326008)(26005)(36756003)(336012); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2252; H:rmmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1e1070a-26c4-4a17-5a1b-08d69ce2b964 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:DM3PR07MB2252; X-MS-TrafficTypeDiagnostic: DM3PR07MB2252: X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2252; 20:F6xoSV0KWVwGTP4cFsWNC1eTNvBUH6hTAwlftr09WEnjoYQlwz1flBkNTxTYPjWfDc1Af7Jn/ooMYrb/9RO105qAilMpprgCL9fFoQfZuviYmGJ5hYvwscO4k+FF3VJrdtN2JoazK/eAHashgTahcIeN25pw9cBpR/O+TyL8qujTmHy/eJNutbEz6nSVZehPRYMSMV39RDldRj5BbnXd4xwkQ/G8MA6W6zJeI4oxwj0VVOkEmb9IUNG/5+brsQ0DvQv/DWqjLAm0UheYztwq2DQqBWaMpSSbxDSRiE4V7b2f3GQb2QRpuf7nBSjPxPfCEVeRiAjX/y1xphet75aoUhbGcj5heXiN5/19sUhIBcn7L7zrrOGOsLSultWiq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TXDIH3Z9SL0SY4WhiOnFnwfWSFETWsd/SbAUBtsR9f0kErQLZOUEHMlMe5fgf99Z96A/vy2tzdvaX+E X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2019 18:38:10.3905 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1e1070a-26c4-4a17-5a1b-08d69ce2b964 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[199.43.4.28]; Helo=[rmmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2252 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:_spf.salesforce.com include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270125 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190227_103816_453099_41824DA7 X-CRM114-Status: GOOD ( 14.74 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-i3c@lists.infradead.org, Przemyslaw Gaj , rafalc@cadence.com, vitor.soares@synopsys.com Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch dropps support for I2C devices with 10 bit addressing. When I2C device with 10 bit address is defined in DT, I3C master registration fails. Signed-off-by: Przemyslaw Gaj --- Main changes between v2 and v3 are: - Remove i2c_funcs() hook. - Reduce address space for I2C devices. Main changes between v1 and v2 are: - Add error message when registering I2C device with 10 bit address. --- drivers/i3c/master.c | 19 +++++++++++-------- include/linux/i3c/master.h | 5 +---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index 2dc628d..5b3adb3 100644 --- a/drivers/i3c/master.c +++ b/drivers/i3c/master.c @@ -1962,6 +1962,16 @@ of_i3c_master_add_i2c_boardinfo(struct i3c_master_controller *master, if (ret) return ret; + /* + * The I3C Specification does not clearly say I2C devices with 10-bit + * address are supported. These devices can't be passed properly through + * DEFSLVS command. + */ + if (boardinfo->base.flags & I2C_CLIENT_TEN) { + dev_err(&master->dev, "I2C device with 10 bit address not supported."); + return -ENOTSUPP; + } + /* LVR is encoded in reg[2]. */ boardinfo->lvr = reg[2]; @@ -2111,16 +2121,9 @@ static int i3c_master_i2c_adapter_xfer(struct i2c_adapter *adap, return ret ? ret : nxfers; } -static u32 i3c_master_i2c_functionalities(struct i2c_adapter *adap) -{ - struct i3c_master_controller *master = i2c_adapter_to_i3c_master(adap); - - return master->ops->i2c_funcs(master); -} - static const struct i2c_algorithm i3c_master_i2c_algo = { .master_xfer = i3c_master_i2c_adapter_xfer, - .functionality = i3c_master_i2c_functionalities, + .functionality = I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C, }; static int i3c_master_i2c_adapter_init(struct i3c_master_controller *master) diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h index f13fd8b..eca8337 100644 --- a/include/linux/i3c/master.h +++ b/include/linux/i3c/master.h @@ -48,7 +48,7 @@ struct i3c_i2c_dev_desc { #define I3C_LVR_I2C_INDEX(x) ((x) << 5) #define I3C_LVR_I2C_FM_MODE BIT(4) -#define I2C_MAX_ADDR GENMASK(9, 0) +#define I2C_MAX_ADDR GENMASK(6, 0) /** * struct i2c_dev_boardinfo - I2C device board information @@ -390,8 +390,6 @@ struct i3c_bus { * and i2c_put_dma_safe_msg_buf() helpers provided by the I2C * framework. * This method is mandatory. - * @i2c_funcs: expose the supported I2C functionalities. - * This method is mandatory. * @request_ibi: attach an IBI handler to an I3C device. This implies defining * an IBI handler and the constraints of the IBI (maximum payload * length and number of pre-allocated slots). @@ -437,7 +435,6 @@ struct i3c_master_controller_ops { void (*detach_i2c_dev)(struct i2c_dev_desc *dev); int (*i2c_xfers)(struct i2c_dev_desc *dev, const struct i2c_msg *xfers, int nxfers); - u32 (*i2c_funcs)(struct i3c_master_controller *master); int (*request_ibi)(struct i3c_dev_desc *dev, const struct i3c_ibi_setup *req); void (*free_ibi)(struct i3c_dev_desc *dev); From patchwork Wed Feb 27 18:37:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Przemys=C5=82aw_Gaj?= X-Patchwork-Id: 10832213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7CBFA180E for ; Wed, 27 Feb 2019 18:38:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A3C12E549 for ; Wed, 27 Feb 2019 18:38:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E9832E765; Wed, 27 Feb 2019 18:38:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F37252E549 for ; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qu2TLGrHLK4qfxnK13H5YLEqGV8YqX6fkwSINqd5/Z4=; b=KfzQBpg0A3FFGV U2/9LLxwU9npi7wGWcU8ZFU+cudsQbidVk7VN9kRJIbRr0aFfeZprS9tLn4sqVAoaUTSrgdJZ0kvr 9PPPb9hCQ/GWv0ajutlPq2/Tsv7GZ4NWtB0gttUNHB6J4qP2aeDhWd6nR9t7gNxiKyEV9v5AQnwzv UQiKx+wXG5dhrRyZFTKJMG0/4uQBYHFPa8x3lagzvCbNhTNummKXIk0byURcQ/iEiM7TIy6K691ud KKBktrvpusco+fN9ZuN2BUoAm7rhhMKtHLAkO10JghGiEPQSlCPMjImwDAEeye3xGGzwKHr14I4cH fVkQoPJkLpM1ddfcLenw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz461-0006Mv-Kp; Wed, 27 Feb 2019 18:38:21 +0000 Received: from mx0b-0014ca01.pphosted.com ([208.86.201.193] helo=mx0a-0014ca01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz45x-0006LO-Rs for linux-i3c@lists.infradead.org; Wed, 27 Feb 2019 18:38:20 +0000 Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RITiWA012624; Wed, 27 Feb 2019 10:38:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=+JSFMwcfmr50M3wJ7f4WptR5F6HEeH3hMyURqQGvdeM=; b=F5WRnBigWh44cWkOJsqcwpkSmIi951hH4WG8ZxOENiSbwbeFlu9m8TpS9Cw3XfZbdwyb wyk4pO/VhIj9xmKyLhddIse5QYGcQxP2ji69lOrksAl0FkHJl1QHyxQPII0I3Ygm52zq itvcO0IDD8gGbW8lqV7BaDIKrHuINPY6o1BLEVOZrNRpIrfelLEqIjK/pXstKrKYz66Y gcMJARhFGdM2GlUDtLe7Id70da57UNRJtT3SeHLRCKzWsZft3YI0+47+er29IYoHxbyF WTrr3ZPrbnK3eA7KlzDsyMHkMPq6J/96wMhhDYjvOMq0eXW28bc2DdzYyTVXoyOqxsz4 HA== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam03-dm3-obe.outbound.protection.outlook.com (mail-dm3nam03lp2057.outbound.protection.outlook.com [104.47.41.57]) by mx0b-0014ca01.pphosted.com with ESMTP id 2qw2yrqwwt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 10:38:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+JSFMwcfmr50M3wJ7f4WptR5F6HEeH3hMyURqQGvdeM=; b=Nss8svf3cUuflytsha3+sOBmXnVfF4iCPgnXyLwkLXkVrunMPv+jAUt5nezE/UlzeHR5vzfHZeoUMMOuqh5Fh7fHSZUHiTToapr71wm3MfanwZxBnAfvnCPdtMWsbqgZc38ymzK1bQlkk/QQq/4FHq3Uw5zN44Q9L+MDKkXdPcI= Received: from BYAPR07CA0062.namprd07.prod.outlook.com (2603:10b6:a03:60::39) by DM3PR07MB2250.namprd07.prod.outlook.com (2a01:111:e400:c460::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.15; Wed, 27 Feb 2019 18:38:13 +0000 Received: from DM3NAM05FT008.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::204) by BYAPR07CA0062.outlook.office365.com (2603:10b6:a03:60::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.16 via Frontend Transport; Wed, 27 Feb 2019 18:38:12 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 199.43.4.28 as permitted sender) Received: from rmmaillnx1.cadence.com (199.43.4.28) by DM3NAM05FT008.mail.protection.outlook.com (10.152.98.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Wed, 27 Feb 2019 18:38:12 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by rmmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc5n8029387 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 27 Feb 2019 13:38:10 -0500 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 19:38:05 +0100 Received: from lvlogina.cadence.com (10.165.176.102) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 19:38:00 +0100 Received: from lvlogina.cadence.com (localhost.localdomain [127.0.0.1]) by lvlogina.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIbxWT016066; Wed, 27 Feb 2019 18:37:59 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x1RIbxGi016065; Wed, 27 Feb 2019 18:37:59 GMT From: Przemyslaw Gaj To: Subject: [PATCH v3 2/4] i3c: master: cdns: Drop support for I2C 10 bit addresing in Cadence I3C master Date: Wed, 27 Feb 2019 18:37:48 +0000 Message-ID: <20190227183750.15367-3-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190227183750.15367-1-pgaj@cadence.com> References: <20190227183750.15367-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:199.43.4.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(346002)(136003)(2980300002)(199004)(189003)(36092001)(36756003)(42186006)(76176011)(14444005)(5024004)(69596002)(86362001)(1076003)(87636003)(26826003)(316002)(51416003)(50466002)(53936002)(68736007)(47776003)(6666004)(356004)(48376002)(54906003)(4326008)(305945005)(16586007)(2906002)(107886003)(2351001)(50226002)(5660300002)(486006)(6916009)(476003)(81166006)(126002)(81156014)(478600001)(8676002)(186003)(97736004)(26005)(426003)(2616005)(336012)(11346002)(446003)(106466001)(8936002)(105596002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2250; H:rmmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fef89434-32c3-4871-f548-08d69ce2ba62 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:DM3PR07MB2250; X-MS-TrafficTypeDiagnostic: DM3PR07MB2250: X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2250; 20:PJ7r5QU/9cNm3WgFeR8n96oX4ZiToxQntwcHYej+kt98+q1Y/+bUMV6M9/bTFMDBYLCe2BLyrrdRdC+USlDpRYfmSkxMvQLRWc4daFbfzONMBZ1RdQHeagKNaVqEBg0r4DiNA+UV9PMTwGJWAP+CBazMcLLjzh/7KQX8hB0psB1x+ZOzf4oomyBR0MVuGbceSR0kG2sbS58aWXZQQ/sBRhgCta5GmfuCQ/LK46+A7mg2cZJL1XGSiD1Kak+6496K5eo6mF4eaUmZ+oocglN0RebBvNdRWFmzM1b6GXbBZ4M+fUYW27oqJSpIgOzsVWS9Rwx6AwbY28yDhGt50h+i5IO8WvmiL8QiE7m0WUEJ6oGnFl++OPIMGqKOGpZT2vpUSTPMkaxd8Bejg1jxzUpEbifAKo7p8cMyIejgKgdtVn5n+2Mm5SlWP9k24fFoVVY7DnxCZmyi/xpovsOhjbfGdOS1tMHgafMuJvkYdxr+qDiMkOmrX+AZBPdfj/MWEogS X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0961DF5286 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM3PR07MB2250; 23:wd9kSVqOAhyz6k1yewaJLbvXCz+e32UmTnISP1mZy?= bZs3p8qB9PUde/jfDa4fBLZQIa0NH2NQklCeuusCXohYKIqcaGRpKYzdaJwGnInVlLlhEu9Vtc1tsTstAsipdA7U2n86b9NLi8MjZuaOgHKh48aSnhV9DOxGlQqDyfUSd4W5Ye7IWEPkcclebrEya/t6z9i6dv8/jobcEDCWX1zBgE3+2nQxTRYFqxnI4E1Yjv1MQBLjf1C7auAM/YeHZ/Ol0o6qmWc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sNHyvqPl2ttWHYjnOixxp/bpqdOlQ5IUt+OwglrsEB1t1CqxUgTjYXJ14wfNMY4P6p2q7Z5oscexLhYEaFk7a8NV2TS7jtEam5BQysdzZCcqUhLKjNJuvRdIDoGRYFp1NPxa0322nWLilc5EzgN0XQmbdtQOQxbu664D26rs/JjnvzSr61U5Er6LluHy6MFccOYhJLm6FxU+9MriRFDHncG1jpM7N2F6ZJWNQcLncvvC+d0c5Uh9A2gez7W6z+K95SrdGsfqon2EsFMCoJWVEbFScolR9QXG7kL4m6iVyqUDPoV4BDZniGfTMQd5Y2WVjiYgyCCr3PjxxDmUFDSu8snllaRl/OgtGLwVH5VxEq3/jnOAq9K7equt5BS1GJF+v5J1U= X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2250; 20:Dd45vqgJR395OUhsDzaGhexK2Uwc2aWmd0r/Pn3OIqJRwtlAYKtE8yuk204Yl1s/bDiex2cJKqlvQM3WDJBIVTu6Nr7UJkp7M6YzYPkwL1O7TtMRHvlbuqSYJZUA4f0heEmTW8iteYTrkCPKDtVjKHlFLatDHxxhmh8f37n4cu7WIVu9deaDrKvUf0VQLKqdb5sCQuVEJh7ZUt849GWlz8HtSRdNGWZInciey4BXQKQwD9zLP8W8kbp9Yb5uLHuR X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2019 18:38:12.0261 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fef89434-32c3-4871-f548-08d69ce2ba62 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[199.43.4.28]; Helo=[rmmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2250 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:_spf.salesforce.com include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=634 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270125 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190227_103818_029636_30D16E9D X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-i3c@lists.infradead.org, Przemyslaw Gaj , rafalc@cadence.com, vitor.soares@synopsys.com Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Because this patch series dropped support for 10 bit I2C devices, support is also dropped in Cadence I3C master driver. Signed-off-by: Przemyslaw Gaj --- Main changes between v2 and v3 are: - Remove i2c_funcs() hook implementation. --- drivers/i3c/master/i3c-master-cdns.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/i3c/master/i3c-master-cdns.c b/drivers/i3c/master/i3c-master-cdns.c index 8889a4f..237f24a 100644 --- a/drivers/i3c/master/i3c-master-cdns.c +++ b/drivers/i3c/master/i3c-master-cdns.c @@ -864,11 +864,6 @@ static int cdns_i3c_master_i2c_xfers(struct i2c_dev_desc *dev, return ret; } -static u32 cdns_i3c_master_i2c_funcs(struct i3c_master_controller *m) -{ - return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C | I2C_FUNC_10BIT_ADDR; -} - struct cdns_i3c_i2c_dev_data { u16 id; s16 ibi; @@ -1010,9 +1005,7 @@ static int cdns_i3c_master_attach_i2c_dev(struct i2c_dev_desc *dev) master->free_rr_slots &= ~BIT(slot); i2c_dev_set_master_data(dev, data); - writel(prepare_rr0_dev_address(dev->boardinfo->base.addr) | - (dev->boardinfo->base.flags & I2C_CLIENT_TEN ? - DEV_ID_RR0_LVR_EXT_ADDR : 0), + writel(prepare_rr0_dev_address(dev->boardinfo->base.addr), master->regs + DEV_ID_RR0(data->id)); writel(dev->boardinfo->lvr, master->regs + DEV_ID_RR2(data->id)); writel(readl(master->regs + DEVS_CTRL) | @@ -1518,7 +1511,6 @@ static const struct i3c_master_controller_ops cdns_i3c_master_ops = { .send_ccc_cmd = cdns_i3c_master_send_ccc_cmd, .priv_xfers = cdns_i3c_master_priv_xfers, .i2c_xfers = cdns_i3c_master_i2c_xfers, - .i2c_funcs = cdns_i3c_master_i2c_funcs, .enable_ibi = cdns_i3c_master_enable_ibi, .disable_ibi = cdns_i3c_master_disable_ibi, .request_ibi = cdns_i3c_master_request_ibi, From patchwork Wed Feb 27 18:37:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Przemys=C5=82aw_Gaj?= X-Patchwork-Id: 10832209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75F8B1390 for ; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64DA42E549 for ; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 566572E81F; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E4CE62E549 for ; Wed, 27 Feb 2019 18:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=42m3lw9vq0ZHef6I578/cyQBmLgKdYdWYr+m/P2bpV8=; b=IAJoT8EEDrs45L lwPkX0dncWVrkDyE2ZPq/4iRh7i6WyRlqBWpqmEW1RbZqsoLgv4qInLfRKXfpNtRoUwG0iatkW8F7 mqaIDAtl4Q3fpFkn57ys9UI4d4MISWsQ8/rsHqC0Js8DisS1AJA/ilsm4tkTc5nVzuSHbI/CLxX+h fLS9z+T9hYxnFc1hQX/8EWEt3SdFvLAC37Lg3myvTRjwQ9NYTQGCv5Ixzdsn1peEuoqY/d1DiOXNF 10ol83sJmpQi7kfcTjzz9p2jWeuXs94w2vH8ZPYq1hYHkw/eX4VTp3AdfPnwQhy0S0PTqxYnx7m+c FxyGZOIMmi0eVXKUYzDg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz460-0006MZ-Fe; Wed, 27 Feb 2019 18:38:20 +0000 Received: from mx0a-0014ca01.pphosted.com ([208.84.65.235]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz45x-0006LM-Cr for linux-i3c@lists.infradead.org; Wed, 27 Feb 2019 18:38:18 +0000 Received: from pps.filterd (m0042385.ppops.net [127.0.0.1]) by mx0a-0014ca01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RISYM7032296; Wed, 27 Feb 2019 10:38:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=iXcjCIyR+I5SxaSkc0yCUBbklPT8mgOTx8o7/XqEajE=; b=j58nCgElYlx9+RVdJ4xqx+8BZsw98gW6VYhCFr8VrnvDGfKSWKvNXNM+CGtxqcGzsPWL ZdbIWfmOlhDcCVb0Ng0Km1vpnmqsOUhMuLVWZ3SzBKs0DTas3HTpuT6g6yUgDOCTevHA Jm0UeFkaDoDlQBcN4M3Sf4vW3lwc6IoD43rZrpMuvrx2nholGgU4mWA/X+M3E0vY5ZF7 pStER5rl4pcj8LpxRfvBbScHUxKBa1vQcbsZ6tBNV4XcoBJLIozyUvrTAg+3fRcqwymp fGrfEwgudfwnvp4466aYW/9s0Ief66/NTD0jV06XE2wjj0g7LvihMSDGNO/yYlQVYrYe HA== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam05-dm3-obe.outbound.protection.outlook.com (mail-dm3nam05lp2051.outbound.protection.outlook.com [104.47.49.51]) by mx0a-0014ca01.pphosted.com with ESMTP id 2qw9jq5tat-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 10:38:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iXcjCIyR+I5SxaSkc0yCUBbklPT8mgOTx8o7/XqEajE=; b=BEfHUSnokwNQoXRBHcybSJiePIFBSokN8TdI6kTSjQ2N1aaS8ie35F4lwSlJeeBBGICdkKVhj/OMgADLIOg/OeIAPWyNX0/4LoT9xZTojEcJ1YDdcffGdRxy1NKhzLZN5BIm4RU+0S1eXYCEQA/mY75/DenDEHzMWE9/wCkKoDw= Received: from BYAPR07CA0058.namprd07.prod.outlook.com (2603:10b6:a03:60::35) by DM3PR07MB2252.namprd07.prod.outlook.com (2a01:111:e400:c460::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.18; Wed, 27 Feb 2019 18:38:13 +0000 Received: from DM3NAM05FT055.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::208) by BYAPR07CA0058.outlook.office365.com (2603:10b6:a03:60::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.18 via Frontend Transport; Wed, 27 Feb 2019 18:38:12 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 199.43.4.28 as permitted sender) Received: from rmmaillnx1.cadence.com (199.43.4.28) by DM3NAM05FT055.mail.protection.outlook.com (10.152.98.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Wed, 27 Feb 2019 18:38:12 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by rmmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc5n7029387 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 27 Feb 2019 13:38:09 -0500 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 19:38:05 +0100 Received: from lvlogina.cadence.com (10.165.176.102) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 19:38:02 +0100 Received: from lvlogina.cadence.com (localhost.localdomain [127.0.0.1]) by lvlogina.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc1sC016225; Wed, 27 Feb 2019 18:38:01 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x1RIc1l1016167; Wed, 27 Feb 2019 18:38:01 GMT From: Przemyslaw Gaj To: Subject: [PATCH v3 3/4] i3c: master: dw-i3c-master: Remove i2c_funcs hook implementation Date: Wed, 27 Feb 2019 18:37:49 +0000 Message-ID: <20190227183750.15367-4-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190227183750.15367-1-pgaj@cadence.com> References: <20190227183750.15367-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:199.43.4.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(396003)(346002)(2980300002)(36092001)(189003)(199004)(68736007)(26826003)(50226002)(8936002)(81166006)(81156014)(87636003)(478600001)(6666004)(305945005)(2351001)(106466001)(316002)(1076003)(47776003)(97736004)(356004)(8676002)(16586007)(5660300002)(76176011)(42186006)(54906003)(51416003)(86362001)(446003)(50466002)(11346002)(476003)(2616005)(486006)(186003)(426003)(5024004)(126002)(2906002)(69596002)(48376002)(6916009)(107886003)(105596002)(53936002)(4326008)(26005)(36756003)(336012); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2252; H:rmmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cba29063-66ec-443c-5b22-08d69ce2ba66 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:DM3PR07MB2252; X-MS-TrafficTypeDiagnostic: DM3PR07MB2252: X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2252; 20:3sO+0PdjZekcmF++FHJnnGj6B/59BPiJW7dVQn3zaXJvTLIpx9XndwF6BrWf7ZObq4pKsLk7MLO0agc2uKdVTMPYrR5L5mkm43hCfefSCWe+qefGL3JznjtuZlRHGN6kqXweIz3upcyEFFAbXC0sYTaMH5N7Z7+OqiF283mYQu89KIwM+oWmYAydiwiGqJSl/YEWxJE/aZHcv4QqIFUS+mPuswbr+ptxn5Bb1FZwr2xhaoReILroKDC4rtx6Eb3ZNba9Rt/L5KT2nPIIX1f+j5Rz1+wcitlmZpDA4Y4xI2qbsqpxQ/AAGPVvpHvb9/0gPBtUZgG0FwYK6j2fokshqTUcISKIWEsM6iYrBrgKP3Z/1ia4YRFIvUvNRutzdiatmhAiVzwEY27ORpUgNgPaT9l/3+Bsj+lPCA6mBJOOYmiB64b7sUZhdYBbdVrdd2kn+YdEHMeXtj/EiJYevKEyriDbSCQpMCpTqsHYDKTylzCurV94ffpnarfz4XxDD798 X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0961DF5286 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM3PR07MB2252; 23:ye/Ss3Msz3qCbaRiDs35DvkJyz9lHPhgE/OQ6KyRw?= Avk8eHv+Mjji7AYAhLkTcACuHzQigLKawnqTH+hjr/cEc2oxgNlzf/9kwR09BWPFxN5HsI+KOP6fSr+HoDVwoavdYz5dq+NMt7fEgczg0kn8kXjOML/ZNBRZLZznpYM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ADCheck: 1 X-Microsoft-Antispam-Message-Info: eHqpfUwNanQ6H0BzUCBra19t6bhl8oMnyu44EYSpCjWSo7kzx30Fl8tuAXXyAPkVOcfgTVttsxk5IhHUnDJDBur+fXFKYxBhTSL6q68W65XwIahhBMm4R4RWeKYq/8Sw75P0NgfuqhOdqBNKqAqeLyghLSnc9HFqauVxWsNUQnIQLoP7rFdkMHaCNv1RzqSuEL5DZRwJl6tUAbmOrK5sju/3AZy+7ZDwW/M+szy4x6h1uVRwXLRko5U3kAzn4mK4hst/I5VcqGW7TCXAp51KcsHw27GAQDIHdykjrlN1zuWxkqrlmQEw1jytFa4hQdqzp0gMMrLkCmnw0AK6k0ck/1KKtsG3C0/DZoKO1y3ivzlfLJMp7sxKcxotO4vx9zD6yiYGQXcZ2TUeIb+/E4+lx66hmz8DYOJ7kok1E1pTG3w= X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2252; 20:8/kpDiDH6ycWb6WkgLl4qppnXSjfUZd503hyWC6aXueKBBEgnHbQBLIA257Qy23NTP6TB6sLjz7JCHxnYy2icyU3aifIgq6RO9hH4CVQN+I8d56bjZ/4jd2tQNs5C1T3QBbulEnM7GWZU4vNwIYJ8tKkuLsjMTn2A0DpVVqa3Ck8C+iLwIOlz+aeDp/XQnPGG0pKBoYXsIOLCOmJUqbRQebhg+8FXBRZ6N6bGB37fkiU7IgaIwA2GFE0DT0f5ila X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2019 18:38:12.0512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cba29063-66ec-443c-5b22-08d69ce2ba66 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[199.43.4.28]; Helo=[rmmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2252 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:_spf.salesforce.com include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=991 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270125 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190227_103817_542121_7E722488 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-i3c@lists.infradead.org, Przemyslaw Gaj , rafalc@cadence.com, vitor.soares@synopsys.com Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Because this patch series dropped support for 10 bit I2C devices, i2c_funcs() hook has been removed. I removed hook implementation from Synopsys DesignWare I3C master driver. Signed-off-by: Przemyslaw Gaj --- drivers/i3c/master/dw-i3c-master.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/i3c/master/dw-i3c-master.c b/drivers/i3c/master/dw-i3c-master.c index bb03079..9934a12 100644 --- a/drivers/i3c/master/dw-i3c-master.c +++ b/drivers/i3c/master/dw-i3c-master.c @@ -1069,11 +1069,6 @@ static void dw_i3c_master_detach_i2c_dev(struct i2c_dev_desc *dev) kfree(data); } -static u32 dw_i3c_master_i2c_funcs(struct i3c_master_controller *m) -{ - return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL; -} - static irqreturn_t dw_i3c_master_irq_handler(int irq, void *dev_id) { struct dw_i3c_master *master = dev_id; @@ -1108,7 +1103,6 @@ static const struct i3c_master_controller_ops dw_mipi_i3c_ops = { .attach_i2c_dev = dw_i3c_master_attach_i2c_dev, .detach_i2c_dev = dw_i3c_master_detach_i2c_dev, .i2c_xfers = dw_i3c_master_i2c_xfers, - .i2c_funcs = dw_i3c_master_i2c_funcs, }; static int dw_i3c_probe(struct platform_device *pdev) From patchwork Wed Feb 27 18:37:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Przemys=C5=82aw_Gaj?= X-Patchwork-Id: 10832211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C370C1880 for ; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B19352E549 for ; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5AB22E765; Wed, 27 Feb 2019 18:38:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EE30C2E5D4 for ; Wed, 27 Feb 2019 18:38:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1EJQ6XNXgK2IiCJa+Dwv8vO+KEoso1/tvcl2LD/6l9E=; b=f1GMQ7Wd+83jpF WD0GBN8992biDu6jpVHa5elmmebTiNz+ST6+HX8rew+UHiUxjABirgfWFL0qk+cLD14CJ7/7xo3FG Uc/V8f/J/dKzVv6XNULWuBszaO79cusFGZ1eWdZpsWHL8XpJMXvhjKJ6NBwrJko2y4x7Rx9UBCyFR JhBTmLQSaR3wo1cCf0DoHW2OiyE6+9PyPIrqSmbFIQMnspYAxCWhqIm0NSJwqrg+gvYqLebzBlDRZ JgM0vu4Er/mDoflQhMRkNF4BqHE1NVdX+jifoRbknv5l5lWagJmgzRy/nlgYXG9PuSAR5WeJcSeot fjKDNuaLJzvnuhq5W+Xw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz460-0006Md-IA; Wed, 27 Feb 2019 18:38:20 +0000 Received: from mx0b-0014ca01.pphosted.com ([208.86.201.193] helo=mx0a-0014ca01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gz45x-0006LN-Rt for linux-i3c@lists.infradead.org; Wed, 27 Feb 2019 18:38:19 +0000 Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RITPDZ011993; Wed, 27 Feb 2019 10:38:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=WaHEDkW2GLP/WDIQ14pqnjNBlC9Mpic66zsbSV3XaGM=; b=XRGmn7fVdP6sXjQs50/VL9YVhH+ZeCwtSfD43u0k5YO0F9caoTaFhApaL+OpjDFjn251 aJbXtFfd0UrGU4pXvtc7jOvIFC5zL8cw0jb16Bl4/xSDoUd/UHrSLVIG65kaw1MWjYyt 856OYwE4j/r+mq1y+uzwTbZzhCu1UJ/tz3QlROAdAOoi/k4jrz/EtNmt0uK+y8mB2Fmr /85vuCoPhbOjMqdAqUKOlrqpjF2Js8vb8wX2T0Ha9Y+7KSt5R1h0QfM2fxTA69SS/yxB 5cQQvhwfF7Q+nkGYIm34/cB8N5K5lIO3Hklu0JlevezDkiByAduSlM2qlU+pCqhsB2x9 nA== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam02-bl2-obe.outbound.protection.outlook.com (mail-bl2nam02lp2053.outbound.protection.outlook.com [104.47.38.53]) by mx0b-0014ca01.pphosted.com with ESMTP id 2qw2yrqwwv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 10:38:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WaHEDkW2GLP/WDIQ14pqnjNBlC9Mpic66zsbSV3XaGM=; b=cPc1VmCdCoQiF9bSeY53G2wwRy4xktLogg7ROfhgMpXYaSlwjdDEXJFO2yDpd3ExXkcuZiA9BtESmGrUOCxWM1u5vyQb05i7ixCWyflrXynVSuEIrd+p2c1Wsa/qUQ8ZDqbbYyIAfn6VbdYTDQ6qDtPbRN2tXttmMc8h5Qw3XnQ= Received: from DM6PR07CA0027.namprd07.prod.outlook.com (2603:10b6:5:94::40) by CY4PR07MB3095.namprd07.prod.outlook.com (2603:10b6:903:cf::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.18; Wed, 27 Feb 2019 18:38:13 +0000 Received: from DM3NAM05FT043.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::208) by DM6PR07CA0027.outlook.office365.com (2603:10b6:5:94::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1643.20 via Frontend Transport; Wed, 27 Feb 2019 18:38:13 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 199.43.4.28 as permitted sender) Received: from rmmaillnx1.cadence.com (199.43.4.28) by DM3NAM05FT043.mail.protection.outlook.com (10.152.98.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1665.5 via Frontend Transport; Wed, 27 Feb 2019 18:38:13 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by rmmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc5n9029387 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 27 Feb 2019 13:38:11 -0500 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 19:38:05 +0100 Received: from lvlogina.cadence.com (10.165.176.102) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 19:38:03 +0100 Received: from lvlogina.cadence.com (localhost.localdomain [127.0.0.1]) by lvlogina.cadence.com (8.14.4/8.14.4) with ESMTP id x1RIc2jk016279; Wed, 27 Feb 2019 18:38:02 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x1RIc2ee016278; Wed, 27 Feb 2019 18:38:02 GMT From: Przemyslaw Gaj To: Subject: [PATCH v3 4/4] dt-bindings: i3c: Document dropped support for I2C 10 bit devices Date: Wed, 27 Feb 2019 18:37:50 +0000 Message-ID: <20190227183750.15367-5-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190227183750.15367-1-pgaj@cadence.com> References: <20190227183750.15367-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:199.43.4.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(136003)(346002)(2980300002)(36092001)(199004)(189003)(47776003)(6666004)(356004)(97736004)(76176011)(69596002)(2351001)(1076003)(53936002)(81156014)(5660300002)(50466002)(81166006)(8676002)(14444005)(305945005)(6916009)(4744005)(51416003)(48376002)(478600001)(446003)(8936002)(426003)(54906003)(316002)(11346002)(50226002)(68736007)(36756003)(2616005)(126002)(476003)(105596002)(16586007)(336012)(107886003)(486006)(4326008)(42186006)(26826003)(186003)(106466001)(87636003)(86362001)(2906002)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3095; H:rmmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f8942332-b664-4626-0c2b-08d69ce2baf8 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:CY4PR07MB3095; X-MS-TrafficTypeDiagnostic: CY4PR07MB3095: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3095; 20:tyBfZRH7OdiVs2dRSmHf9LObcFV5FrzTCITTuSyfTSxo6LTn0TuCKaOlegd2OBWbPQgSiLMh8I96csg/MIE2nARjuqn0ilUkC8X7quV4V63KX5pmNVn/HGVS3tQvhTNVkY07/JzOmpEN6V2G+aS/1V6JEzMsS6U+rwUhbkuSQ2ND23glXvoDz+Nzuh4dGG6w5F8TGWivqSvdZkVNPcfnuc5QNMc+uMkq45nRlFnvxacxpjVoKO+jKOC+oqAzUy0sIRrXyhho3hAv1OdofGBh+R886ZuXgVr3wE69YQs9jLdkgMtOygnxOSf5gi6mjkgEFtkn/P2zSPc7LziUpIMpOm6EbMwiNYyWiIrCvw0OGsZZ6szcqaxeTOBv0iHEWj1vFQadSyj6o1r22MjkR0UP6Nkp6FNM7u9Qeiyo5NEchrWmYJ5JqEjM40G3SRg/W38J0L7J+0XeY8S76CpZ6mweiesYKXXME6Xl6ELT099y7reMLT4l3hFF6XjUkm6H51Jz X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0961DF5286 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3095; 23:DnblPBOIsvxJrghyHW5wViTr5FnBmm7U0zxzH55E7?= ReiQnPYw25ifJVIJ33AKxCse9wOSRt6OKiTRg5h0i6bqnDqPaYC6utultt+j6R8c9GjcSyPMJjG+YmZSxzQz3IFZ9mqiObErY8JeD+uawrc58nobjwiCeCucGzL7srzbLIK6h/PFD5Fp90/vALE0JZzLNL93crkNnS4GkYA0qjBuZ+jMESAZOITo/fzwZEmy8/budFqzeI1MN3K0Wu5aUDhxRGXkrPZMaH36hMXo3484fr6RGJRbNnrkd0GVQ9Pd/YFkBTmemjfe0oJlKYBwTXS8H5wNjHzInchDDP89PZ5gmF1QWEbQStbrbXQNbrgoiVjUHV54TEeMuFZ/IrbJEaW00lXNlrPfAHirgy61SqbETYsQ6GSPEGYlmpyHkqYDHJN0MyxnRDxcNaRAaOx23xHZui8+JY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mru3Xzigjleq0wy2isC5EXC9DI6I9e+q/+htkynZy8Qjx3BtIosJ6aTocNZ5pDx53sKxsFnFzv1r4ME2HkoCGervD1rnqqht8KEijiCPZE00tRojm/Aa/qzw9Tp/lb5rRtoKJ+nGE0yXPyxB2bfMDha3vBwVpLm37dDGDnbz1InARQccnclXA1oDpgJpq0J31g= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3095; 20:fp4xflR9ka6ofZt2KfJEX8/ZybxabxDr0baMkLI1f7H+sDDXNkFNvDBfdOPcWNkv8U7Ilq0GHHttuIeJjgeJSccWPVG8XRzv9i1pRE0MLvE3JipfgehHst6ZeIhu357PQ8b00uGpDJtXerrVHCZJZq8mgZyP+XX5Q6C5hzUE6hB17buY9f4FQtLoiU1wrapbdG7ES4P+dnpUTxaQ6VnpyjCrpLl6EHjXpXim8hFRHUdTNsRKe4qtcWl9Os4gcFMK X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2019 18:38:13.0061 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f8942332-b664-4626-0c2b-08d69ce2baf8 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[199.43.4.28]; Helo=[rmmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3095 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 include:_spf.salesforce.com include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270125 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190227_103818_034308_DC025324 X-CRM114-Status: GOOD ( 10.36 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-i3c@lists.infradead.org, Przemyslaw Gaj , rafalc@cadence.com, vitor.soares@synopsys.com Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Because this patch series dropped support for 10 bit I2C devices, I'm documenting this. Signed-off-by: Przemyslaw Gaj --- Documentation/devicetree/bindings/i3c/i3c.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i3c/i3c.txt b/Documentation/devicetree/bindings/i3c/i3c.txt index ab729a0..4ffe059 100644 --- a/Documentation/devicetree/bindings/i3c/i3c.txt +++ b/Documentation/devicetree/bindings/i3c/i3c.txt @@ -39,7 +39,9 @@ valid here, but several new properties have been added. New constraint on existing properties: -------------------------------------- - reg: contains 3 cells - + first cell : still encoding the I2C address + + first cell : still encoding the I2C address. 10 bit addressing is not + supported. Devices with 10 bit address can't be properly passed through + DEFSLVS command. + second cell: shall be 0