From patchwork Fri Feb 5 08:51:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12069623 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=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, 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 E20FAC433E0 for ; Fri, 5 Feb 2021 08:53:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 7B44164F3C for ; Fri, 5 Feb 2021 08:53:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B44164F3C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=cnURt7pXgUrkunb6cVLhAW0L352aZws2j6qD8taj9Rw=; b=0mZWsMNAw89mjWB9Fmq5Yl8jow MNgt50vxqVxQRFNknk8x/bDug+km7DseRBOJRMcqG/LQIL44yW58KdKCzsRrP9egd6OQuK9/W1gWy JHH0TTsi/5CY/s6UP3SPvF4+hZKgRKQ/oGOnZnxDX0xKis+m7uzjHYKQaBewyck6ZnJLo+mGaM+lj YPuTxSKIl0Q9TTxtW8/gsTjHhBsBT6svyD0Bk11Z7vE5SXLBnMdACvC7wPctkjxRIfD8M9KHIJ3IB 6vW0tken06QCLZGWrX3gnPDiZKd6tlT3079EVVhK9fq57q/xUIK/G2DSFGwphwrgCL78KoWBJv2cA eZSG5JQw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7wqr-00067P-C8; Fri, 05 Feb 2021 08:52:29 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7wqg-00064B-RB for linux-arm-kernel@lists.infradead.org; Fri, 05 Feb 2021 08:52:21 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1158l1WR007611; Fri, 5 Feb 2021 09:52:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=KoN+yQlvSs0QDXzP0LKAFNH9utHipTRcikoBgtIN8lo=; b=e8kOMd+kETgkqyl4sIq8whYdqEBEdZjz+AKVGKs7p6sxePii7iHgmhJU9fRmDfO/Nu9I zazUUpps4ATPiOwzDtfT4q+7RNWA5GgxErCU6rBzqQEMX29DCM2j68RoTh18Vngnz8wq Uwy+WDRKJFIKTcREj1SO3GlG91aC/9mpD+qVsnyDAtiqWYuxTIiL4lmN2MRGZ1ZAfZeS TcLkSbGV1FdyAIUtRjPkJaZfo6oqDu16lfN4ekzBu3O+m6Kjw+rty1mubjTUPV3DQgwq LwtJDsH4hnCpOqHYprvoNoRrw8Mr6SxtMZH+GekcDA4JUWaMhRQoPDCb+NtvLEZc9kXf QQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 36d0nse4kf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Feb 2021 09:52:06 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2BCCF10002A; Fri, 5 Feb 2021 09:52:06 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EC4A8221793; Fri, 5 Feb 2021 09:52:05 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 5 Feb 2021 09:52:05 +0100 From: Alain Volmat To: , Subject: [PATCH 0/5] i2c: stm32: filter binding support & debug info Date: Fri, 5 Feb 2021 09:51:39 +0100 Message-ID: <1612515104-838-1-git-send-email-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.737 definitions=2021-02-05_06:2021-02-05, 2021-02-05 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210205_035219_100100_92F2CC9A X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, fabrice.gasnier@foss.st.com, pierre-yves.mordret@foss.st.com, linux-i2c@vger.kernel.org, mcoquelin.stm32@gmail.com, alain.volmat@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This serie add support for the analog and digital filter binding for the stm32f7 i2c driver. An additional patch add also debug informations, displayed in case of errors. Alain Volmat (5): i2c: stm32f7: fix configuration of the digital filter i2c: stm32f7: support DT binding i2c-analog-filter i2c: stm32f7: add support for DNF i2c-digital-filter binding ARM: dts: stm32: enable the analog filter for all I2C nodes in stm32mp151 i2c: stm32f7: indicate the address being accessed on errors arch/arm/boot/dts/stm32mp151.dtsi | 6 +++ drivers/i2c/busses/i2c-stm32f7.c | 63 ++++++++++++++++++++----------- 2 files changed, 46 insertions(+), 23 deletions(-) Signed-off-by: Pierre-Yves MORDRET