From patchwork Fri Oct 5 08:55:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10627297 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 9CFA216B1 for ; Fri, 5 Oct 2018 03:23:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EBB029584 for ; Fri, 5 Oct 2018 03:23:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7064A29593; Fri, 5 Oct 2018 03:23:49 +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=0.1 required=2.0 tests=BAYES_00,DATE_IN_FUTURE_03_06, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=no 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 0B8C229584 for ; Fri, 5 Oct 2018 03:23:48 +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: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=cVSEor3tBOv65H6k1c6vzcPXzotHKH93pzjf3oF8MMM=; b=c4biQmAOO09/fa RWWuS8Y+ZyOpCCM/p/q2ZCO3rybrgs9TA/KfHFgpqdbbAguv4b+bZbKLtQPermUBy+ezFXrFCysSM mOwnE/dUNY8WpOVMIataKNRMqCuJXulZpBcN5klMX7+AbsvHdahvCF6TevwsGq0CHOkbeVzBINr1v fj+z3G1CoVnO0/yAzWgwMv3BWnxAllPMPomDcFa3MeELeMSqoD6cYUaEpCqAgdIL1yEDxGsxhNm/C KGY9WqTUSklqphYmGb8WKIKSwxuZJkg1cZZrHtMocRUDJ0xqBAcn7G2LEq2GpXWN44MKXoAljVe1e 50QKnsy22/t9OItPvxxA==; 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 1g8GiK-0003hh-Tl; Fri, 05 Oct 2018 03:23:40 +0000 Received: from mail-am5eur03on0612.outbound.protection.outlook.com ([2a01:111:f400:fe08::612] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g8GiH-0003gV-89 for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2018 03:23:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yVaw9os+6likyjMwo8CLE2+Q50YYW9rKc/j2dHGqnIE=; b=a9YTqQqykEf7bqvoBn1N+5+UnA8DJrUVS/DqsaKVKz4QIKyv1UAVEn/HcfXnnRlOElxO93YDLJjYcaHgcx+gDJuMMHHZEHjF1i3Z3OfAamjnRVq68zU5Q2bSwaC5Fooiala77BsoL1eUB1syY8tTLtWNrxefi5h85WIvSBATH9o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; Received: from uefi-workstation-2.ap.freescale.net (14.143.30.134) by HE1PR0402MB3324.eurprd04.prod.outlook.com (2603:10a6:7:81::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.22; Fri, 5 Oct 2018 03:23:21 +0000 From: Pankaj Bansal To: Leo Li Subject: [PATCH 0/2] add i2c controlled qixis driver Date: Fri, 5 Oct 2018 14:25:03 +0530 Message-Id: <20181005085505.29024-1-pankaj.bansal@nxp.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::21) To HE1PR0402MB3324.eurprd04.prod.outlook.com (2603:10a6:7:81::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa8722bd-6672-4f47-1671-08d62a71e7ff X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB3324; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB3324; 3:zIzVeC+Au+ouZqDnpWr34yjeJjtMsqUzAxcmNIR7WLqL83+xzd85rKKAjUY1SV5ep7AVrMjNWRaLThnWwt6xcet5rq3CX1W4/f4FU3d0PZu5b/V9QTYIfeymBlOvw5pU1mx7AdwfkW4/pwBLSpiJIDnNVqxddlAF6eSMbDasMqI/dnKYEBhjx+sNUl9YPVpYQVFlwzX/5w/oD3MwCspbhj7AoK4WJT/NoMi0u/jvimIpEME1PJneUbsfOBzHXX06; 25:TcRiVa89nU2PiG4yrIG5k0mprk3fM4XwTC+La1w9InEBn7bhP+3QD+7rhfYfJMVdjz/jD2qeWECE6gPKyoU6ZUBiPMlOznZUAjDepYvUtpYIaYgMgLM1tT1JexmSM0/zJlPyx87nOhl+yA8mTF1u4FCLn8/sMVUwMN0eAXncp2TSwE/Z4aXG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ycv3A//X4VH3AQsmd4cSFOmQ8KqqDl5YA6mYM7vfUfsE8gtj0Fw6xQ+bmuKok6qp4vMQNbM7OfCH9wvaVc3U/lV5qI32L4sh3990cPMXuhLldV9GQH/y+epQj+wpBTnz2z+Gc4drxi0hkGV3Zofd4yB4oma+CPTBriquNsyMPAJREBAr6nc6+FfchGLFIhLSfylRDaHWSgIeND1f/JSKY6yygPz+YCFsYU5O8xvzaa6ZUCrb3Nva X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201708071742011)(7699051); SRVR:HE1PR0402MB3324; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB3324; X-Forefront-PRVS: 0816F1D86E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(346002)(136003)(376002)(396003)(199004)(189003)(2616005)(186003)(23676004)(81156014)(81166006)(478600001)(1076002)(6486002)(52116002)(50226002)(8936002)(386003)(55236004)(97736004)(5009440100003)(6506007)(6862004)(316002)(8676002)(5660300001)(16526019)(26005)(66066001)(44832011)(105586002)(106356001)(476003)(6512007)(6116002)(3846002)(6636002)(7736002)(4326008)(486006)(37006003)(53936002)(68736007)(54906003)(956004)(25786009)(2870700001)(50466002)(36756003)(305945005)(86362001)(6666003)(47776003)(2906002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB3324; H:uefi-workstation-2.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange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+RaxDjoCy+DL3A681GjJ8P7hAue?= =?utf-8?q?iDgLG6CY6+0qTEaZX1JjLHUp5LOdeZKTKCkuMLhTAMK/0OJtMwV4/+itNul+tl9n/?= =?utf-8?q?sbG7PmXzdWlxNReoUyXpS0ejud1IST0VmlUd8mKBCprAVwixZsYOZpmMYDIKKLBnt?= =?utf-8?q?1G5YBTp88n/UU7BHjNNhjJWjkeMZpSfWhOPfqZOWmpVIyPq4IOBA9BykF4p/Vs1Ht?= =?utf-8?q?oqLZJdvbH79dWzqHDJ2I+BSS6v7TEN3X63/avPRWWK9UxFomc/OZ5uofORUWOPVPq?= =?utf-8?q?9LnRjyFNthaQH09x/rGAxjj1kqing1GH4zLZu7yOd7D/xLZ2VKb0eIPbHIJ709hGF?= =?utf-8?q?dg829tenjf35o9JngutxSsV93sPhlk1oo2FHEI1u?= X-Microsoft-Antispam-Message-Info: CvtmQwlhn2L1weGrrXKDYpym0DjCY4O187dc17YvHmTSacj+Ih62kvqF1x7nBqZ3Fn1m+iIakOUxKBf4pwO2rfMNzKeXAKGtJlUGyo9g2Iq6CJK7TWRvETt1snWCMidabvSQzvLlSszekqzGBkpL8TRwHIIGZmA4zSN/zVpHQ4OUT+yONxGH6LdhuGF7E+nLUGj0CgkZ+hq0enrm4/FHnKB8uAfdd8Oxmbs1P2J8O35Hi/328WtY46Hncz0XN7f/08biTLbwhv2bweInrHHr1J7g2UKGAEvG4oiTdtGLUjy1tLkQDIiSfnZXlPHiSqEz7Yx2VC5AnJV9C148wTksQL1ONbhVS0iuE9qPLO3uU90= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB3324; 6:b/01LXMb6rLxvgipE8yHzBjhYfhiJgNG4grVkVslJFsno+G17FOVG/OQyofdThFHJggRcOcKziX4WM8b6NPFDiFt3M9hcs1K4g30hOnVXAnTW6HzZngjbOpCfJuyzJarfF1gKpS91CYT1is4DuIAcZdk3N3glM5rFxJUYiBAprIBCoX+A60j1hR8Bqj3GnzY2QXxbndWt4VmbUmAO0M0v4NjnLtr4USJ2p4ItdIj5JzUhGitTDWC7whjGLdvuPXtb51+k61a1HVgvEL5nsKgIyI+ZN67bkXh4r3lMdmBHRMbuv8/iFnJwzf9wk/tsy7v2ayolwq/W0wNRCw0moRyRRwDbCjChPO4yyxr+4px1bkxDzSkyJ64QSmXvpAYAiQvdiNY2eXPiqdU/I6GOUSoNY6iSThhx/2MUoi0OE8iQnZCIiPNGfIM4vxX0gUgLfFPYJtoHtPhD+tcFqjcOVxmPw==; 5:bfK9CVTJR7hpkfBkZ/+a77ht/JRbcKzDhjRosGJW4Pvb+dgE7JHkPx1U/Xu+crO+uZ9lMJBLWQS3184Qt1TFKXuWP84wvK1NxnTMqK9Dbc9YY1Y55GxtVk3/KJSkvbHrSwBn6s+flZ9rSmcMKUsL9D5OeBXYebYu9glghL0tjrc=; 7:BthRCx5bv0rRRqV8bYguW4WWyDilaZs61rcjmrUXQ96uw6Mv7SeMF27FAckfXzKk2NbgnCmvVByNNpswNz0Parr03YbmtFv6PiKlRP/55CBpBZdqpNDsoZbGueInE0TDEPWMPtFYutCVPXs50vE0jh+Pp2IIBWkjzFzW0eUJpeN5ps1v2tgpjIaqhJYLOrGDCNk4mEQcfa5LOJbzCrQki5cNWb1JKhnicynlk2dKNzLvV9vfWJ+qaYfdZlziz3XT SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2018 03:23:21.7679 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa8722bd-6672-4f47-1671-08d62a71e7ff X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3324 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181004_202337_432578_04A197BE X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandru Marginean , Pankaj Bansal , linuxppc-dev@lists.ozlabs.org, Varun Sethi , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP FPGA on LX2160AQDS/LX2160ARDB connected on I2C bus, so add qixis driver which is basically an i2c client driver to control FPGA. This driver is essential to control MDIO mux multiplexing. Cc: Varun Sethi Pankaj Bansal (2): dt-bindings: soc: fsl: Document Qixis FPGA usage fsl: add i2c controlled qixis driver .../bindings/soc/fsl/qixis_ctrl.txt | 33 ++++++++ drivers/soc/fsl/Kconfig | 9 +++ drivers/soc/fsl/Makefile | 1 + drivers/soc/fsl/qixis_ctrl.c | 75 +++++++++++++++++++ include/linux/fsl/qixis_ctrl.h | 20 +++++ 5 files changed, 138 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt create mode 100644 drivers/soc/fsl/qixis_ctrl.c create mode 100644 include/linux/fsl/qixis_ctrl.h