Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1039582ybh; Thu, 16 Jul 2020 01:09:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3jNXrRiSTDIk/ddIBLxfU7R0TsdNA7ul7HKIbuYYgAIJJzZ5oBn7tW3Jdg26zf4Ei1EJY X-Received: by 2002:a50:f0c6:: with SMTP id a6mr3254556edm.374.1594886980561; Thu, 16 Jul 2020 01:09:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594886980; cv=none; d=google.com; s=arc-20160816; b=d0jMZ/YMNgfbHF7LEaG7UdMkEXJdji/CsyGI0svhEeuNbzj9F7N5lwvpXJJRWyv3Dx rueQ5xRIRMNgkc07O4moQfv/jDj+QErBb5rwb8USEKzaRsXoscYjl+Fn7GXeZcw9UcuE sv0sgta6sKJ7T8WNmiENExsHS9SGbsV0CWB9qe7JFdsbgeAEB4KbHAyxZilJtPWUdZnc Uvo+O7yffdLVV6drA1Ud2bVam+Ju+SNBdN6529qotlVJEEebZLDoke1dNVce2ThZD5XI +8qfDN7WFOuG5GqkwIZFQ7yFWK9kMNuLyc2LxrqmtMXcXcwXWtXTHO4ehr4azlpktXBZ yxyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=DQl00yYXYwsbpEtRwxsV9i6tqBPWGw0OYdTItL8Npos=; b=Gsy5Le7fCdZIp7AJBsIIaQxMae85I2XSbdNPjl0MEvPcX8JSIu2zHdz926D2PH/7DH HO1sBDsc6H/R6J+Db9mvn/GzuIGzA5LZxQtf2oYsZlWNB38ZqQxFyOYo9JzqHMjxQlOw Khi1L9Gih57jYJltIr0sp7HbKtwlQ1PhPuLKYkjwOCgTGiqFtH0YadsprB2P+OopZo5Z Az0a5h20ZInEpULVO83YWxxj/lLgwbiuVxlpsOPwtP/PgfOWVcY9yx7YR5lJcYPRh1S2 k0+Jksm9Gj8xO414PO04e1t8bpXfKVLPKkYz8wO+hOiXWdc1b7SZGj0cWKs8LpJILROb L6XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PCX3eNBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si2773908ejw.376.2020.07.16.01.09.18; Thu, 16 Jul 2020 01:09:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=PCX3eNBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726846AbgGPIIz (ORCPT + 99 others); Thu, 16 Jul 2020 04:08:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726834AbgGPIIy (ORCPT ); Thu, 16 Jul 2020 04:08:54 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A680CC061755 for ; Thu, 16 Jul 2020 01:08:53 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id s26so3313214pfm.4 for ; Thu, 16 Jul 2020 01:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DQl00yYXYwsbpEtRwxsV9i6tqBPWGw0OYdTItL8Npos=; b=PCX3eNBJh2mqYNaMPMn0gVvxkCAmz8mqNsRWiN5HBvqOC3YNoY+sXnQEa7TLgzm7yz OxRZajCzl6VnFa0FbTdELIg4dQXr66IYV9Xb3vjeNrQCLsdGmhpg3pWKBlVTqgYEv0lK gxQsQ9Tofpz1qTaejYFP6lDGToXNhgTJMrM04= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DQl00yYXYwsbpEtRwxsV9i6tqBPWGw0OYdTItL8Npos=; b=ae35SAnrMpeTghvKrgqHmvflflqByDVTZ8SzvxI5CFW/d4q64f+Tgrb0/3IL60sDvX 4/FHakyomNT6SIhGC5i3gRMq6EBYo8lEpOJ5IUaMW3BJ5pXEXhKFrpyc1PXJ4s6RvIxE irZ82dL7RRzfcyyj69FEoE6unLCbbv/NBSFjOeB0TDxjuwGyMJDpSmyx8ASQhvEoahXB vsrgMlyTf7jC7UybqRF6RPyivIqQjlsck9D/DqwQ53oD86Tzlc5ziZSE4SqqGLyZWj8H kyMp4btD95NwJ2wrB+hjN+D06h4wlm/qSp4ZOCo71cla5utSwNJddNAeplHJ/V8PE+3S BXSg== X-Gm-Message-State: AOAM530E91Xnk9b51dKVu/pcMAmyrTnKdvDCyrvwRfdYnrsbhw/MkvK6 RncJ583KtYfm++zkwACC862c/g== X-Received: by 2002:a62:347:: with SMTP id 68mr2540133pfd.185.1594886933131; Thu, 16 Jul 2020 01:08:53 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id a3sm4353085pgd.73.2020.07.16.01.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 01:08:52 -0700 (PDT) From: Rayagonda Kokatanur To: Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Lori Hikichi , Robert Richter , Nishka Dasgupta , Andy Shevchenko , linux-arm-kernel@lists.infradead.org Cc: Rayagonda Kokatanur Subject: [PATCH V1 1/2] i2c: add PEC error event Date: Thu, 16 Jul 2020 13:38:35 +0530 Message-Id: <20200716080836.2279-2-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200716080836.2279-1-rayagonda.kokatanur@broadcom.com> References: <20200716080836.2279-1-rayagonda.kokatanur@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new event I2C_SLAVE_PEC_ERR to list of slave events. This event will be used by slave bus driver to indicate PEC error to slave client or backend driver. Signed-off-by: Rayagonda Kokatanur --- include/linux/i2c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index b8b8963f8bb9..e04acd04eb48 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -370,6 +370,7 @@ enum i2c_slave_event { I2C_SLAVE_READ_PROCESSED, I2C_SLAVE_WRITE_RECEIVED, I2C_SLAVE_STOP, + I2C_SLAVE_PEC_ERR, }; int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb); -- 2.17.1