Message ID | 1562678049-17581-5-git-send-email-eugen.hristev@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 5154D13B1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Jul 2019 13:20:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E485285F1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Jul 2019 13:20:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32983286D4; Tue, 9 Jul 2019 13:20:47 +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=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 C4438285F1 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 9 Jul 2019 13:20:46 +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:In-Reply-To:References: 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=SOM59o/YLTU7z+k6Z1pjTkpXsITc1V94w5t/Nuj2AHE=; b=JjsjoJNlWGE+5b wPzOnb7khlM3v/1HKcIsj2q8mOQ44sDUFrXuQsnFXujckmp1V0bWT3Y89ofS3HnZ5aZu5v+e+MFkq 9N2DPxqCGifpKY5c49u/LLgy8Mb5WhloYlU31JEInZ3Nizfwwp+kFow/q4ktpf/LMYE/gGScGCwEV eQC5rziIDt5hOK6jJzaT7T8AXIRNeBXhlJxPd4UnCIny1KtONKylRUtv3HxyJYHVUwKw3CpcRKDzI 2l3ckFxRyNTjowiHHetCYbdYpp61rFVQyZazq+CPw4S8RF5sIlKD1gOKfWarEpkjlam1P7VvFSktg E0lGHOqOy6biKljxmxdQ==; 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 1hkq2z-0002vM-NR; Tue, 09 Jul 2019 13:20:41 +0000 Received: from esa2.microchip.iphmx.com ([68.232.149.84]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hkq22-0000xu-Hn for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2019 13:19:44 +0000 Received-SPF: Pass (esa2.microchip.iphmx.com: domain of Eugen.Hristev@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa2.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="Eugen.Hristev@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa2.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa2.microchip.iphmx.com; envelope-from="Eugen.Hristev@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa2.microchip.iphmx.com; spf=Pass smtp.mailfrom=Eugen.Hristev@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: ei4SZeWr3WZ+jWRJn3KC8kmSHvtwDYt6FcRbGEJ0QGbcRE09f60plwKz4abK0dLfIlaLuazLxu u+EQK2kbnL+MF+oWbAOYl+YbBPsfzheii0Bt1REUaeh/3Z+Sk7NTUzOzRNVeOKaFGgbVCF1kX2 H6blxcdxdd4P7YN5yectgLHRbvZuf8Ise1DzWXnUUbJ2nZ6jRo1fi/yd8mEJPuGPoh6tbqTIjK IsV1D9SrZ5BctEaFrq16h4nSM/hc0nnmLirl7j28bQaodLH0oNMfDCzi6I5LAZE+J4mR0NYLCN Xu8= X-IronPort-AV: E=Sophos;i="5.63,470,1557212400"; d="scan'208";a="40504234" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jul 2019 06:19:41 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.87.71) by chn-vm-ex04.mchp-main.com (10.10.87.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 9 Jul 2019 06:19:40 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 9 Jul 2019 06:19:39 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k+xlU13Ja9W3q9y5JXZmU903nA8mQ03sXRCIEWQnoiw=; b=q39VtZnOENIy/feFy9uzXqGQQi4Nkk71xfZhhYlyJdrcQsW4q4c704xTaAoZhI+Vkkv29fCZ8gp0cQK5PRzoYMIqmtvBR6iArIhnV1RWlToW6vZJJJktwiZXBLtnwIXKuG92M+NrXmA3pWMON7/s/oKX9C+cqLn7p/kDNnnMoAE= Received: from DM5PR11MB1242.namprd11.prod.outlook.com (10.168.108.8) by DM5PR11MB1866.namprd11.prod.outlook.com (10.175.87.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Tue, 9 Jul 2019 13:19:39 +0000 Received: from DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::917d:f91d:9398:3925]) by DM5PR11MB1242.namprd11.prod.outlook.com ([fe80::917d:f91d:9398:3925%8]) with mapi id 15.20.2052.019; Tue, 9 Jul 2019 13:19:39 +0000 From: <Eugen.Hristev@microchip.com> To: <wsa@the-dreams.de>, <peda@axentia.se>, <mark.rutland@arm.com>, <Ludovic.Desroches@microchip.com>, <linux-i2c@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <pierre-yves.mordret@st.com>, <alexandre.belloni@bootlin.com>, <robh+dt@kernel.org> Subject: [PATCH v3 4/9] i2c: at91: add new platform support for sam9x60 Thread-Topic: [PATCH v3 4/9] i2c: at91: add new platform support for sam9x60 Thread-Index: AQHVNlj22smCbqXFFkK5oLq83CQQ3A== Date: Tue, 9 Jul 2019 13:19:39 +0000 Message-ID: <1562678049-17581-5-git-send-email-eugen.hristev@microchip.com> References: <1562678049-17581-1-git-send-email-eugen.hristev@microchip.com> In-Reply-To: <1562678049-17581-1-git-send-email-eugen.hristev@microchip.com> Accept-Language: en-US, ro-RO Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0141.eurprd08.prod.outlook.com (2603:10a6:800:d5::19) To DM5PR11MB1242.namprd11.prod.outlook.com (2603:10b6:3:14::8) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 10559b68-3ad9-4a73-0e2a-08d704701893 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM5PR11MB1866; x-ms-traffictypediagnostic: DM5PR11MB1866: x-microsoft-antispam-prvs: <DM5PR11MB1866205E64D764DDC822A95FE8F10@DM5PR11MB1866.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:2657; x-forefront-prvs: 0093C80C01 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(366004)(136003)(376002)(39860400002)(189003)(199004)(72206003)(50226002)(86362001)(4326008)(76176011)(110136005)(66066001)(14454004)(54906003)(2201001)(7416002)(316002)(5660300002)(8936002)(71190400001)(52116002)(71200400001)(8676002)(66446008)(2616005)(66476007)(446003)(53936002)(11346002)(26005)(6512007)(107886003)(256004)(6486002)(6436002)(81166006)(81156014)(64756008)(386003)(66946007)(73956011)(2906002)(66556008)(4744005)(25786009)(486006)(102836004)(476003)(2501003)(305945005)(68736007)(478600001)(186003)(99286004)(6116002)(6506007)(3846002)(7736002)(36756003)(138113003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR11MB1866; H:DM5PR11MB1242.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: czwNrb70bAqu2KyQJHtQgN1b7onPcsFIejNahnbRfoGXs3XuW8D+8IcSDAZbkwY57tIaE3tV5GWag39hz4vY+NkihUVz7jrg0CSeZ/HXHbhzg4gBXtNdqjzkgF7xjZFO1FVhLNvctPEDhnnVWQgNg/XGOVnBfB4VRsNQn50AHooFjz1fzqZX6WyXHqRV+zKLMmIFDGclZ84R5v9Wn0HnjkmujXLatTDCAmm+QRL81aTw+XL0sHqF+2rugMXBsvrORQZ0Gd+e85QtQt54sObPJohPj+A3yvvC/9GFXi3BE0X2TJKXAnsyeci6c0SE5vhnHSGXcOVnBwyHvxrxvaJTB+xrFDsoOEQtHhGi6jt8G66FeMmxdP79pR7XlGTvdyggQFHzumOt9jYvZAEANLlgkVh547US50P3WbzGvRe8WmA= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 10559b68-3ad9-4a73-0e2a-08d704701893 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2019 13:19:39.4185 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eugen.hristev@microchip.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1866 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190709_061942_787981_5D6FF75D X-CRM114-Status: UNSURE ( 9.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Eugen.Hristev@microchip.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
i2c: add support for filters
|
expand
|
diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c index 8d55cdd..a663a7a 100644 --- a/drivers/i2c/busses/i2c-at91-core.c +++ b/drivers/i2c/busses/i2c-at91-core.c @@ -148,6 +148,14 @@ static struct at91_twi_pdata sama5d2_config = { .has_hold_field = true, }; +static struct at91_twi_pdata sam9x60_config = { + .clk_max_div = 7, + .clk_offset = 4, + .has_unre_flag = true, + .has_alt_cmd = true, + .has_hold_field = true, +}; + static const struct of_device_id atmel_twi_dt_ids[] = { { .compatible = "atmel,at91rm9200-i2c", @@ -174,6 +182,9 @@ static const struct of_device_id atmel_twi_dt_ids[] = { .compatible = "atmel,sama5d2-i2c", .data = &sama5d2_config, }, { + .compatible = "microchip,sam9x60-i2c", + .data = &sam9x60_config, + }, { /* sentinel */ } };