From patchwork Thu Mar 7 09:58:05 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: 10842517 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 8C0E11515 for ; Thu, 7 Mar 2019 09:58:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7734A2E60E for ; Thu, 7 Mar 2019 09:58:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B0212E6AC; Thu, 7 Mar 2019 09:58:29 +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 F00EF2E65F for ; Thu, 7 Mar 2019 09:58:28 +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=xqO7JTXrklaG1TXW8JQBWOJGXZsUu9CU1ETK4N+jlL0=; b=eQwKIIDMKsKDNg 5tWXVKCfR8ta9e59LtarLcWKg4tYMPgb4lWQeAV95VTfRtoOQFt+xscV0BqrBZl66d7IQN/v0vgxx DJrxRRzHKi9TdrnHfMUQG8OnV3R2SHkkR/kFbhWmPCOcipLecZFwuqSIFNik/zuKgQZJV4vQ2zK2f RN4POpPYGp6GGNBq8BMKZdaI+K5nTi8Dt1/wq8M1tQXCsky0FWv0pHvJhfcViCUSDag9OTxWKKRf/ T8hgLzx2W5QkHFOyvPzn19U6NPVoeFgm7Zg0nIOu7iFAq7y9T8IfA3UYbMgGUfCPKR4IZptG6YMBQ 5Q0HaFLtzSiNRJf/XRWw==; 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 1h1pnI-0002LX-IZ; Thu, 07 Mar 2019 09:58:28 +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 1h1pnF-0002KG-C2 for linux-i3c@lists.infradead.org; Thu, 07 Mar 2019 09:58:27 +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 x279viRa017850; Thu, 7 Mar 2019 01:58:21 -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=MBrXWjL9eNxg+Rk9zSkp3pjqxVFr7sY42Onet0/Qv4g=; b=McV+qqZN7Qhx9ySVIWRP+hKRxNb5FNGOtJg4Pi0HJVGfc6QykDYWBrN8anLmNNDOE3mJ SDC9PKFWUK/r+KsOx/jVtroRMp5/zK10ObOBIwWiAFQOfGiwU4APrkF6B04rLm2gr7qs /GHjRZwsMAK+7aajaiVebjexJPjUC4YxuKhv+MdcHuKCp/yUWexk+tMQRONN77r0emem 5NXKs52ix4wcbkHOBikp91vOP+xvzyUQvnQW6a7iyJOTbIcv91w4VBMAA3mME4bCuQK3 d8wSPObDOPRnExLENqz+cr6gElupjuC2C2qW68T7YFHgyzRlZd/9+OYc9oXoCyBd95Ta eQ== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2054.outbound.protection.outlook.com [104.47.36.54]) by mx0a-0014ca01.pphosted.com with ESMTP id 2r2bec67am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2019 01:58:21 -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=MBrXWjL9eNxg+Rk9zSkp3pjqxVFr7sY42Onet0/Qv4g=; b=UnNE/deUhoRRAmetbL+Pix4Ifc38uEXzxrUdhR06qLFwn9uCl/LLMbCKBukk3Hk4doU9J7s1etWZMqEVndFaZq3dyEbrnJ31UXFbgJxJ1NaddUOVTtULfR6f5P4zZ9lYSsODbbZf1U/XycUBuH2vkOrpM0POGDYMtmtFn5DQ594= Received: from DM6PR07CA0062.namprd07.prod.outlook.com (2603:10b6:5:74::39) by SN1PR07MB2173.namprd07.prod.outlook.com (2a01:111:e400:c455::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Thu, 7 Mar 2019 09:58:19 +0000 Received: from BY2NAM05FT028.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::201) by DM6PR07CA0062.outlook.office365.com (2603:10b6:5:74::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.18 via Frontend Transport; Thu, 7 Mar 2019 09:58:18 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx2.cadence.com (158.140.1.28) by BY2NAM05FT028.mail.protection.outlook.com (10.152.100.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Thu, 7 Mar 2019 09:58:18 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx2.cadence.com (8.14.4/8.14.4) with ESMTP id x279wFhP016727 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Mar 2019 01:58:17 -0800 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; Thu, 7 Mar 2019 10:58:15 +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; Thu, 7 Mar 2019 10:58:15 +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 x279wF2t023766; Thu, 7 Mar 2019 09:58:15 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x279wFRR023764; Thu, 7 Mar 2019 09:58:15 GMT From: Przemyslaw Gaj To: Subject: [PATCH 1/4] i3c: Drop support for I2C 10 bit addresing Date: Thu, 7 Mar 2019 09:58:05 +0000 Message-ID: <20190307095808.22540-2-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190307095808.22540-1-pgaj@cadence.com> References: <20190307095808.22540-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(136003)(396003)(346002)(376002)(2980300002)(199004)(189003)(36092001)(76176011)(26826003)(51416003)(5660300002)(8676002)(50226002)(356004)(6666004)(305945005)(47776003)(87636003)(246002)(2351001)(426003)(26005)(5024004)(186003)(50466002)(14444005)(48376002)(8936002)(478600001)(36756003)(336012)(126002)(1076003)(2906002)(86362001)(2616005)(476003)(4326008)(107886003)(446003)(486006)(11346002)(105596002)(16586007)(316002)(42186006)(7636002)(106466001)(6916009)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2173; H:sjmaillnx2.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:corp.cadence.com; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 993f88e5-6ca8-40ef-952e-08d6a2e36cbf X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:SN1PR07MB2173; X-MS-TrafficTypeDiagnostic: SN1PR07MB2173: X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2173; 20:91YwZUi5OQKu0smfEGdX4O+TD9OmziW+cyEcFB8Onw3eFOWJm9gYojDbueQRmmxPhjfiy65y+iNHNw6gy+Ovaz9pcKs+aZZonIoldOZ5vqEbyr1MAXEHgP7qzoL+giRIv4MAknqgmXnFJmBcjKebdS59L2nQgfgEPn+DbiMQdLTOHhVe0oxshyRiZPg33+Dk3lfPn7dDNgnumxwb0p4tOtXarzXUMFbsQSFR+fVfQPpeBAfgXf1pIsZ0OywWgkja01HjZxWaipWDlcX3G/6MRKDuocnjw8kc6qhCxcoMpAKVvbdlzMN6ZvSFsU730vPQqKqo+8pa/XiD0vIqacDYAGoxViCkKIcBMVte3nPKg0GrvtAJZ3GA1QRXoKIB3X3+SvOAx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QVdTZFRcz2XW6I7prfnjCbyOcbtXhBfGnP3swof5rs1tNwe5krxdrmkQsW+PMtP/xiVFKgxPMG4gKmbMvdMYJVS0LJsuivR6mhAA2zciCEr7G/8cnVo98mO5ts6PmQ627DILPQ1hI7ftF4LO3GMYoNdO3BIPRWEQw5Ch5aoNx6yJxx7n1/AC/DWfTl3CWAemOILpQw+ddyYX0LlfYKhxouVMueUs0SG/46lA/C/cXCQNRd/mQ0ICNe9ekZKEBNEQzLMBgGND7Ow5xx/zlAZVqqNSf X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: uEr0E79FYCf5nvQW1EF2RrJbe5B/yBhNdBakR2hQsqAFDw/sauoL7b8vgkwNZUG4wqiy/Xw6nCGhNXhHtoM8jD8XPLMBUuiUI2kGE0HbefY+mPXgOKt0R9OOfHFcnczH0sIaJd8lD2zMx+0ojj+/oG9MMV87QyNngknKRYo2zQtELdwMAwbaZJ//6BMBUn7ieso5bwnaiAEDFKAHYNzLHpDQcuTDeWgulzvixhEStJ/8IAOEz7LSoDfernISzDYOtdODHGF6D3Z6O31mRSrF7+NNrGhS5yeDnueLBSKDmCrcTNSO3bHDn5pTeeHwAk988WO0hakMGYlVKZSy99fiuq/zbAKpR0lKbcZCuYBEE+uAzSbKErjYzb8EKjyWid9w2Hn12Tabz2gUbE4lGwgbUfdrjANqbvV5a9H5xOMxuAs= X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2173; 20:I2wdNI+Fp8fsPCBNVn5bqMsT1wotOy0GV/97KcDy+cbM3Msgn4XlC+3vYRBbCUd5J0AnP8+me3CSxI/sr5FbxpRkme3jpb5WXCyi8bCiscFFnocpHPDRUKMx3/c5PpweJh0gtnppG7pUaweohjO96vOy558+V+XPakyBo0AdLR4kHCUmIx6tCyGJNjrTBlnmacuoS1a57O81PaZo9awb0AuqEWOym5Kf417nEvyrIsu++yYn6vBhUv1ykhhWMBcF X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2019 09:58:18.4654 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 993f88e5-6ca8-40ef-952e-08d6a2e36cbf X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[158.140.1.28]; Helo=[sjmaillnx2.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2173 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-03-07_05:, , 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-1903070072 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_015825_517537_5C2B67DC X-CRM114-Status: GOOD ( 13.75 ) 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. Address space for I2C devices has been reduced and ->i2c_funcs() hook has been removed. Signed-off-by: Przemyslaw Gaj --- 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 Thu Mar 7 09:58:06 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: 10842519 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 77ACC1575 for ; Thu, 7 Mar 2019 09:58:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 626542E60E for ; Thu, 7 Mar 2019 09:58:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 565132E6AC; Thu, 7 Mar 2019 09:58:30 +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 EAAC32E60E for ; Thu, 7 Mar 2019 09:58:29 +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=A+iyUky5muSUqv7kAcvg20OOHVeL3+Q99rgPuCrtCPY=; b=g3CYDto5wQto62 O36HrTqc43lplqa1DwgB+gzNr8Wj4tqA6vOLeAK1rrVMlXkgc6TkyH6m67sR8SuNuXUcM69Jy3sq2 CXNsHntR9E5wONtiaeOMF0hMR0xT0GFU8UqqhZLXTMqAjqTnet8vkGDfcBMV6FGeoFX217MDQcjSb aYrqOV5oG0o5iAxOTeNQ/OXotDeYvDpfNcF+LzaGCSz5jTDlFk/VGVbFMQ56yn3EsHgzZBm6k5fLq Oao3qWi0qHLFpehNq9gV9+r0MevOEd99wHcWczo0s0Q37wnePyk7iyB1Y58+10r2TP6w+lAckAw/V DBvvWztrjilfXorVh2og==; 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 1h1pnJ-0002M3-L3; Thu, 07 Mar 2019 09:58:29 +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 1h1pnF-0002KM-Lg for linux-i3c@lists.infradead.org; Thu, 07 Mar 2019 09:58:28 +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 x279rkwg004684; Thu, 7 Mar 2019 01:58:23 -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=ktud+6kc5lWpfN/SH7lMbIn6GPaAPAYvFVpBctn9XSA=; b=G81oNv3AJ5AVZIiHCojBD9aQRtr5EkcIfU94PCe2YrVQHBnfT6DqHPDIThk56aKF+ogC Q/T3LP44vW5kJnNAI0SAADssWeJe+/zc5PYCG15uj0t9JCLgeigBYOluVVUkdxMQp3qG U4st28SklKAQnhR/CPnihOHy0rm7CJCu/hbU6PRjexqAjiQSPGpU3EGqu97YOlIT7JEl j3MGHqeRJCk0gdFhJSJAsNcEkWvQGoEHijakTqfdiyUEmeofnNSO+MiQnaj7+jvyaAAB JNJ4o2E55SmQq4l07+WgXMMwZHeQDKNfJxI05ic73c6HaM7b810maqBjsH5mb6NYG56i QQ== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp2059.outbound.protection.outlook.com [104.47.37.59]) by mx0b-0014ca01.pphosted.com with ESMTP id 2qypa00g2d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2019 01:58:23 -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=ktud+6kc5lWpfN/SH7lMbIn6GPaAPAYvFVpBctn9XSA=; b=JCIkAaWTfgf+XnPrLvi76YZ69hWOhNbIeakrJ5Qp3Qin0A5+mxCWFd3ctdKDc22A61CuUeiW9Z/IFU4llWz36MQehHbDgPgjrz0oUbCLohQmYi86kuEb5nyiG98oLi3HIYUisOdIrqCE3PV8wX3qQA4iaLJEfLfkMBP3gwYmEW8= Received: from BYAPR07CA0094.namprd07.prod.outlook.com (2603:10b6:a03:12b::35) by DM3PR07MB2172.namprd07.prod.outlook.com (2a01:111:e400:5980::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.19; Thu, 7 Mar 2019 09:58:20 +0000 Received: from CO1NAM05FT063.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::202) by BYAPR07CA0094.outlook.office365.com (2603:10b6:a03:12b::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18 via Frontend Transport; Thu, 7 Mar 2019 09:58:19 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx2.cadence.com (158.140.1.28) by CO1NAM05FT063.mail.protection.outlook.com (10.152.96.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.5 via Frontend Transport; Thu, 7 Mar 2019 09:58:19 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx2.cadence.com (8.14.4/8.14.4) with ESMTP id x279wFhQ016727 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Mar 2019 01:58:18 -0800 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; Thu, 7 Mar 2019 10:58:17 +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; Thu, 7 Mar 2019 10:58:17 +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 x279wHrZ023832; Thu, 7 Mar 2019 09:58:17 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x279wHg8023826; Thu, 7 Mar 2019 09:58:17 GMT From: Przemyslaw Gaj To: Subject: [PATCH 2/4] i3c: master: cdns: Drop support for I2C 10 bit addresing in Cadence I3C master Date: Thu, 7 Mar 2019 09:58:06 +0000 Message-ID: <20190307095808.22540-3-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190307095808.22540-1-pgaj@cadence.com> References: <20190307095808.22540-1-pgaj@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(396003)(39860400002)(2980300002)(189003)(199004)(36092001)(26005)(2616005)(7636002)(356004)(486006)(6666004)(126002)(11346002)(426003)(446003)(305945005)(476003)(246002)(186003)(86362001)(42186006)(316002)(16586007)(54906003)(8676002)(336012)(51416003)(76176011)(2906002)(26826003)(8936002)(478600001)(87636003)(50226002)(5660300002)(6916009)(2351001)(48376002)(106466001)(50466002)(1076003)(36756003)(105596002)(107886003)(4326008)(5024004)(14444005)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM3PR07MB2172; H:sjmaillnx2.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:corp.Cadence.COM; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 31a3a27f-201f-431e-b2ac-08d6a2e36d74 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:DM3PR07MB2172; X-MS-TrafficTypeDiagnostic: DM3PR07MB2172: X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2172; 20:xr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rs8utRwi8a7vxMf5sGyGdyE6crhRepb6sxS35og6iBm0j/azcAEGLcJE46X6hkTSRLspQ0WD1AFU= X-Microsoft-Exchange-Diagnostics: 1; DM3PR07MB2172; 20:+4ru7weSo5BkERBt/FddNF27AwoAzoQdoLTu+fq47NHJo01utHUI5rghqIpLoi91H1lf/4tXLnW7rKkG/ZA140uAxof3JpJbQ95t89tajiTx91BAlDrf9kxSrj7iThWIz1FmSyAOah7Z212ioM7m+vXhp1W4fJzYRLU0HVFa+x8DR9FgfFQmdB8rpaoGDhWKiQi3q9myJFC77+jMhvtiDE7wk45a2OEHXe/RJ4Vmlqmo+nLYW9zKdAAom3WokiS7 X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2019 09:58:19.5633 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 31a3a27f-201f-431e-b2ac-08d6a2e36d74 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[158.140.1.28]; Helo=[sjmaillnx2.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR07MB2172 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-03-07_05:, , 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=690 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903070072 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_015825_828812_EADE4791 X-CRM114-Status: GOOD ( 10.82 ) 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 --- 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 Thu Mar 7 09:58:07 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: 10842521 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 6C5621575 for ; Thu, 7 Mar 2019 09:58:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56AD72E6AC for ; Thu, 7 Mar 2019 09:58:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A5532E60E; Thu, 7 Mar 2019 09:58:33 +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 1C32C2E60E for ; Thu, 7 Mar 2019 09:58:32 +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=FJgT1IvconRBKb zHemVlLpKZkLVLmWe1w729W4miCsIGP6y/b23JY3kRGUzzpAW5FSvQhG7QmQEchTfkIpq7gISVFMR RKW42poLdJ/xQu9gH8vrvMUS8YzwoWGVfof1ik9TPcxhNyH9wfMLC8mXBZjG7PvfrYjA/4V/XyKnL p+F7W8ca3v+ETF7+vpn3140RwQVH/P5tb2zJjtmo+BExVwJtZwYxH+5UIJQmcTMvb6cmf+i267Vxw NsJE99hQG3jY7zaz38vzM7n4KI0oJ/wiucyXsNiZUwrDlsd5Sw6+d/1j1l9bs0Gi8e7i0ZpsAxiSb Q+kwz6L/cRmZf4Up2I9w==; 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 1h1pnL-0002NJ-NW; Thu, 07 Mar 2019 09:58:31 +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 1h1pnI-0002LT-U0 for linux-i3c@lists.infradead.org; Thu, 07 Mar 2019 09:58:30 +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 x279vSEM017793; Thu, 7 Mar 2019 01:58:27 -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=Cl/dI0+NMYbFOFKucLoRVVJKoqOeB2rFLTfhjzTGcbaJ/8dVho4KsQMHSQyjj02p1L8E Z1Jiv5gLHAEyViShofAyxm4D2uuGhDYaKkw3DHdk4iNu47td/+PuUpbcM3fYllXtOc9A UjLeWliXhc6nOn0hhnbH659rqi9cWTqC5ZWFbdETohuk2eLLFA1esR4hhUU5mVue4v0a RT/n+vhK1Xci7R+mJ/cmnm3Q1B1hGxIrbYKLMrsAuvXPqRhu3KbfPmGZ8QlSgUl/cOkO Roskx+4ai1x0JI3NC+wjhqE/SB7JU2nahPAE475q92MZXnR2bQLyZdnbfdf7d5sFE14m ZQ== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp2051.outbound.protection.outlook.com [104.47.37.51]) by mx0a-0014ca01.pphosted.com with ESMTP id 2r2bec67ba-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2019 01:58:27 -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=sZRem1b0gLwUO35uQWQP5cE3FjnM0LmddxC8SWdz6FNftGbsUS98sfGzdTVRPhGH128laCHkX8BDVE31O+naai3nMLQdHFEhjVy2PWvWKwa9UkNSFEIfhNeKFqGv4vkEtg0pj+UMqlyYm9B15RqgSSSgxxZMgZ+3MyOCIN8yNcc= Received: from DM6PR07CA0054.namprd07.prod.outlook.com (20.177.221.31) by BYAPR07MB4406.namprd07.prod.outlook.com (52.135.224.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.18; Thu, 7 Mar 2019 09:58:23 +0000 Received: from CO1NAM05FT032.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::205) by DM6PR07CA0054.outlook.office365.com (2603:10b6:5:74::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.18 via Frontend Transport; Thu, 7 Mar 2019 09:58:23 +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 CO1NAM05FT032.mail.protection.outlook.com (10.152.96.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Thu, 7 Mar 2019 09:58:23 +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 x279wJZ4031683 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Mar 2019 04:58:21 -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; Thu, 7 Mar 2019 10:58:18 +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; Thu, 7 Mar 2019 10:58:18 +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 x279wIXn023884; Thu, 7 Mar 2019 09:58:18 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x279wIde023883; Thu, 7 Mar 2019 09:58:18 GMT From: Przemyslaw Gaj To: Subject: [PATCH 3/4] i3c: master: dw-i3c-master: Remove i2c_funcs hook implementation Date: Thu, 7 Mar 2019 09:58:07 +0000 Message-ID: <20190307095808.22540-4-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190307095808.22540-1-pgaj@cadence.com> References: <20190307095808.22540-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)(346002)(136003)(376002)(2980300002)(189003)(199004)(36092001)(81156014)(2906002)(68736007)(26005)(106466001)(8936002)(1076003)(50226002)(54906003)(8676002)(76176011)(81166006)(486006)(126002)(86362001)(11346002)(476003)(69596002)(6666004)(16586007)(5660300002)(36756003)(53936002)(6916009)(107886003)(2351001)(446003)(97736004)(50466002)(316002)(5024004)(2616005)(356004)(48376002)(336012)(426003)(42186006)(478600001)(26826003)(87636003)(305945005)(105596002)(47776003)(51416003)(186003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4406; 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: b156ac05-deef-4032-14c1-08d6a2e36f9f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060); SRVR:BYAPR07MB4406; X-MS-TrafficTypeDiagnostic: BYAPR07MB4406: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4406; 20:i3DMek4kM2qJRu5W1n0LUNTlPDOsrb3xrPkjE+CLYVbBlFe4oZ5oQsgwm2tXyxogGw2EUupiCL5aYE2wa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67C+wk7mE/b3/9QBDSXDdyrFc5X1oqJ52ISh7CGkeuV4u/kP71usj7PSOQrkEJv0YWU= X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4406; 20:zAPiSNaRlDWUfAMm8O3oznNpK+CGel02Unna4VVi1AGLxwvYxqM2q7yptlCzW0xusC6wjVMZ+QzRH33qaf+PEUpRTGEAIQlkRZwK+LUi7VUS/OGgBo+sQl70OWtOrn7j+3YZMMwMCzKElqQbOdRrUzeGOy3FwuWJRECkulaQ9qqHB/dJ90YmLcWfD/F3OrN7QsGWc9ioMKqMgSv2D3kWYYb4Q5LHxIjNzwFsVmfckDzukM7e6Zu3LvNK/6IUHhgH X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2019 09:58:23.0363 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b156ac05-deef-4032-14c1-08d6a2e36f9f 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: BYAPR07MB4406 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-03-07_05:, , 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-1903070072 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_015829_086722_40AC777B X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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 Thu Mar 7 09:58:08 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: 10842529 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 9D3041823 for ; Thu, 7 Mar 2019 09:58:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84D312E60E for ; Thu, 7 Mar 2019 09:58:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 793502E75E; Thu, 7 Mar 2019 09:58:36 +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 19CF42E6AC for ; Thu, 7 Mar 2019 09:58:36 +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=hPIkNxxNCTUCZD N7auu4SgVZbOwCyWbw2iAZdxGA9Rt9WQHD7FhU3NzihCacGiHZcxlFiYS4/3D6A+6fGwjIveTEvcX Tt27wJBIF2a74QM5T+cIeP9Nj0BCBMF8MiuWyLN7YDKNANyQVWZ5j4a709JhwKHgPIz2pk3PEo8GK LxXNivTGGXyXMN6yFM2XcRKeuL53eBxKYhi/jWVOtSohs6XdvRQs//t1ea6JUzMwQTqThnScE5Pwh 9WM00zmfbG5BmeW/iBIFjoFGaCxkBeksEUyXO7+KbHmoj47s498vxq2KYmqxqAZQez1cWEc1wDYsw sBKnDwXFuw2lWnhgXsTA==; 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 1h1pnP-0002O1-Pu; Thu, 07 Mar 2019 09:58:35 +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 1h1pnL-0002N1-A8 for linux-i3c@lists.infradead.org; Thu, 07 Mar 2019 09:58:33 +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 x279rmNY004698; Thu, 7 Mar 2019 01:58:29 -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=aCQNEm2pprieFwurce71ZnH8YNl56kwus9uJ9M9tKn4A+KyIqKva4DUDr4j+/Jf+TF80 i3alHT38BsHTO4SF6zZc0xwuqTNsm2ImuGAAYDWs2itSQkCQ/PvG761wLkAJdvG75p7Z IuIJX20jlU1+R4OL709TGMjN2c6R1Pe/8rQifl+Noy1Mn4XAvVMTEi9BtnVmZBdP14xX daXj1BEhW4jQlJ8IbTWdUNy87tYbjwrz87bJt+ImlrsZDEtLLMdMC9wUmhs4IjqJfJsq F5IIYE9HnBK/1G5FJGWcenAFApKXYKlvWUFyAyx8wvWfBuAiR54sVgBnk/GcVP+4cTw5 Mw== Authentication-Results: cadence.com; spf=pass smtp.mailfrom=pgaj@cadence.com Received: from nam03-co1-obe.outbound.protection.outlook.com (mail-co1nam03lp2058.outbound.protection.outlook.com [104.47.40.58]) by mx0b-0014ca01.pphosted.com with ESMTP id 2qypa00g2w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Mar 2019 01:58:29 -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=lmSqjbNWhEaUsYSDY2VzOAFMKiX4YduGEdSR5sCdIYCvgZicnfTPY5bHMFUphb2fpQfb4XU4H2F4gyb1pX5n78DCKFJKQickK1Gs79unXv2bQhylAKdBhSIoDriAVePOSOU95u8Y1hkMGagbDyhT9AW0Q5VJ9Tzg3AbayAU2w2o= Received: from CY1PR07CA0023.namprd07.prod.outlook.com (2a01:111:e400:c60a::33) by BN6PR07MB2948.namprd07.prod.outlook.com (2603:10b6:404:41::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Thu, 7 Mar 2019 09:58:25 +0000 Received: from CO1NAM05FT058.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::205) by CY1PR07CA0023.outlook.office365.com (2a01:111:e400:c60a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.17 via Frontend Transport; Thu, 7 Mar 2019 09:58:24 +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 CO1NAM05FT058.mail.protection.outlook.com (10.152.96.176) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1686.5 via Frontend Transport; Thu, 7 Mar 2019 09:58:24 +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 x279wJZ5031683 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Thu, 7 Mar 2019 04:58:22 -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; Thu, 7 Mar 2019 10:58:19 +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; Thu, 7 Mar 2019 10:58:19 +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 x279wJ10023913; Thu, 7 Mar 2019 09:58:19 GMT Received: (from pgaj@localhost) by lvlogina.cadence.com (8.14.4/8.14.4/Submit) id x279wJ3j023912; Thu, 7 Mar 2019 09:58:19 GMT From: Przemyslaw Gaj To: Subject: [PATCH 4/4] dt-bindings: i3c: Document dropped support for I2C 10 bit devices Date: Thu, 7 Mar 2019 09:58:08 +0000 Message-ID: <20190307095808.22540-5-pgaj@cadence.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20190307095808.22540-1-pgaj@cadence.com> References: <20190307095808.22540-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)(136003)(346002)(376002)(2980300002)(36092001)(189003)(199004)(26826003)(50226002)(87636003)(5660300002)(305945005)(26005)(36756003)(106466001)(2906002)(4326008)(97736004)(6916009)(186003)(478600001)(51416003)(48376002)(50466002)(76176011)(68736007)(86362001)(336012)(107886003)(446003)(69596002)(81156014)(11346002)(8936002)(4744005)(476003)(2616005)(426003)(126002)(486006)(2351001)(1076003)(6666004)(54906003)(316002)(81166006)(16586007)(47776003)(14444005)(42186006)(53936002)(8676002)(105596002)(356004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB2948; 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: a8ec0edc-5426-4682-dd18-08d6a2e3703a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:BN6PR07MB2948; X-MS-TrafficTypeDiagnostic: BN6PR07MB2948: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB2948; 20:2LGs9m+OJmL6fzsyPE8VGvkS8ndk0l4j9VkMMpuJgplIumzaTF3M2DBJ5i1Cwl6sXORUD68r/TPZzqKLgXJ5uMPNboQukKsCfhSFAO9KdPqVaHAyVSH35NbP1212RI0bu2ZU1ofNfpLwEeT0uJLR8YexrgIStDPvdCPrRFyWTcxYFAVBipoK6rpflOhfICkCbtVVOfxW4jIEqDVx3WxSMrtRmGEWOPuBI+QyLAtX7yS0xCCidBQaa7GxEAXZnVahLaQ3ODEkrI0Z3mLn2z4qE4sq36urFBgg+0vLFNSygX8mmvf6b7cr0ED43QYGzKGFJdN8vSu1FPHCP2oCyQ6V6NOwmvN9fXlxBQ0WmkUS94/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Pp4MfDYHmBYHfm/sQ2y+sam35VFmZQUFZA7dhnDBL4ED5+FAQt/FDTxqeckbGMKAU/mDSNIWuw4UW1SbSg9TFaupLGfQ31WBPHxUlqnkGL9h8x0hNA3xCX6TxAjp X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2019 09:58:24.0735 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a8ec0edc-5426-4682-dd18-08d6a2e3703a 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: BN6PR07MB2948 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-03-07_05:, , 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-1903070072 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190307_015831_530363_254C9F94 X-CRM114-Status: UNSURE ( 9.83 ) X-CRM114-Notice: Please train this message. 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