From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64B43C31E5E for ; Wed, 19 Jun 2019 18:36:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 422D1214AF for ; Wed, 19 Jun 2019 18:36:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Hwe3OLjb"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="U2HSINhV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 422D1214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=IkoEQEs2AgFq0BXoBwiAtG6yPEu/p9di7KgBXv5M044=; b=Hwe 3OLjb3tfHL+IDYVpjRt23PB5PHmLt4CWHKugPZ0ODacW2Z9R/eh9OrdY6pOLpwvuCu6V50kayQRrl ZZ8WssNf/PvbmxaCChEDxh7qL38cjQPK2rxfVrSQ5y2GXIr3TLve25pWkRvAHyFZ++eNgTuqaemCN yEAX6ZHPUhuMTIp8dLHkiH81oxwSJJ5yyl4aLv3a9Da0zuqVM9FWSJIbF3+2no9yZ9TsbQug7ign9 vdTMxCSWwJANeq1gdp9HjxypJpqLw5AN8Kpuye+ItniqpW1KXhqLhPvTk1qc3K4A4c9mle9DBwr75 VEmHksLdzd2Bg+G0mtKNdJDnnZXGHMQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdfS1-0005wv-Pi; Wed, 19 Jun 2019 18:36:53 +0000 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102] helo=smtprelay-out1.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdfRy-0005ug-9T for linux-i3c@lists.infradead.org; Wed, 19 Jun 2019 18:36:51 +0000 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id D3401C01D6 for ; Wed, 19 Jun 2019 18:36:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1560969408; bh=RGchGZJQNbFtQ9jnJno/U8DK9KV0WI668+5HNvJxEB8=; h=From:To:Cc:Subject:Date:From; b=U2HSINhV1HPDB95MW2AfSbcHBpmK9XX3xeCZuLphAKsfNgbxZbudA6xhQ3PxEKSV5 DeN4PZq5yK41GPkhNjgQtkxiG2OrYQqS8e+zz5FunroDp9m8IaOQn4pwaWMWStfP/F Q7kULKbdqWn53O4IWIdZRvB3lUbgp3d649/eZmPEcv+0XNcLcU+87PMHJIj0CnkeKH JgEcA0Z+YAPFD+WYlwQTOorQvPbuLMr+hMBW6DNnVafvd9LZVBnfls4epG8e7uAAHr yAFsohLcCySySvieVF8tDuMhuGl/czy6ayx8ydmR/5p9g1ZYTDxhM0JFwnws/sw+nc LqWsHLYhJdxsg== Received: from de02.synopsys.com (germany.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 94908A0057 for ; Wed, 19 Jun 2019 18:36:45 +0000 (UTC) Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by de02.synopsys.com (Postfix) with ESMTP id 7AEAA3F211; Wed, 19 Jun 2019 20:36:45 +0200 (CEST) From: Vitor Soares To: linux-i3c@lists.infradead.org, Joao.Pinto@synopsys.com Subject: [PATCH v4 0/3] Fix i2c and i3c scl rate according bus mode Date: Wed, 19 Jun 2019 20:36:30 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190619_113650_356159_6022E52E X-CRM114-Status: UNSURE ( 7.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux I3C List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vitor Soares MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org This patch series fix the i2c and i3c scl rate according the bus mode and LVR register. It also introduce the mixed limited bus for the cases where i2c devices doesn't have 50 ns filter but allow higher clock rate for i3c transfers. Please refer table 5 and 10 of i3c bus spec v1.0 for more detail. Please follow each patch commit message for more details and changes made in this version. Vitor Soares (3): i3c: fix i2c and i3c scl rate by bus mode i3c: add mixed limited bus mode i3c: dw: add limited bus mode support drivers/i3c/master.c | 57 +++++++++++++++++++++++++++++--------- drivers/i3c/master/dw-i3c-master.c | 1 + include/linux/i3c/master.h | 5 ++++ 3 files changed, 50 insertions(+), 13 deletions(-) -- 2.7.4 _______________________________________________ linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c