From patchwork Fri Mar 20 00:57:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Nemirovsky X-Patchwork-Id: 1258555 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=cortina-access.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=CortinaAccess.onmicrosoft.com header.i=@CortinaAccess.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-CortinaAccess-onmicrosoft-com header.b=kiohy2BC; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48k54337gVz9sPF for ; Fri, 20 Mar 2020 11:58:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 583D481552; Fri, 20 Mar 2020 01:57:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=cortina-access.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=CortinaAccess.onmicrosoft.com header.i=@CortinaAccess.onmicrosoft.com header.b="kiohy2BC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DFEEB816A9; Fri, 20 Mar 2020 01:57:42 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0601.outbound.protection.outlook.com [IPv6:2a01:111:f400:febc::601]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4B48C800DF for ; Fri, 20 Mar 2020 01:57:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=cortina-access.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Alex.Nemirovsky@cortina-access.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5O/mYL6ycNK5pMJa1nC4FquYfpSA1b9uM8SX4Tyw9a0ec5Oz4F7A+9EphaZTNlWHU3E1QlLwspXfY97Y1+nwVIL9ZY2ktfgtLKnJKjm3rhzaoJYw9u/9C3SCIlPbaH2K6ytjhDfV+gvGH3m0vaGKO2wD5CisjWy4ou2woMXtlx2iqzConsiqCcxI6rTsXBaa9G4YkwErD8RRLV1cvtVGPvB/5sO/RXryPmHOQnPy1HeLDjEBYtdBDW6x16dQkz75xk8j8LzgIaMmMeprTxW0Xm3hkQ8arGeouh3kYwzazDXq/WpMm3h19/NawdjpkKTbphoTLm63l27W6IGIrLs8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XTRzsuC59L/l20duPa3EVpirV0ueJdsF/gAZe44hGWI=; b=MTT7s5bSv2+X9JLdq1ikXH3fyqAj4GxgMBIAmvx78ImYS9k7I5mIumcXe2oXipjqf/b0QBBiLTZ5/MFo+8sG1LNrgsCun2+9jf47BQFwPOZjvW27bN+JUY1kcrWIUxJUFjdF0DDlDxvjB67dmRNIvYxuTcGAnmAeeNC/irNiKBbpRMt8Bfo/9vMcAtLWTUIC+uGZucU3yvr98fOLVH0gmfPfmIVK4mESHjeNiDAqDjJoJUwf6ZmV8VdoUNuxvArQlJXNoiDuvyEYdFVSAw50FP649S7mAdTsV6jsRS53A6oA/6bf/UC/czv9hweKgGt70v6ld5sdf7vZzY+PcYs+MA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cortina-access.com; dmarc=pass action=none header.from=cortina-access.com; dkim=pass header.d=cortina-access.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CortinaAccess.onmicrosoft.com; s=selector2-CortinaAccess-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XTRzsuC59L/l20duPa3EVpirV0ueJdsF/gAZe44hGWI=; b=kiohy2BC/M650zSv95uWMGCnAuofw5ULuuB+4lXrdOGGe2HH3CrgM7QKY9RQUvtBVcQvKCIwZZvoms8aOqnG7XWej7xxa+spZlSvZEF98OaTxrGfFAKqEIQ9VSzXn9sHnynqyqHwDISGVCV1GFnVHwors/3MckUTy7U+X8ZGTDg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Alex.Nemirovsky@cortina-access.com; Received: from PU1PR01MB1964.apcprd01.prod.exchangelabs.com (10.170.191.16) by PU1PR01MB1882.apcprd01.prod.exchangelabs.com (10.170.190.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.19; Fri, 20 Mar 2020 00:57:36 +0000 Received: from PU1PR01MB1964.apcprd01.prod.exchangelabs.com ([fe80::8505:cc66:dbab:cdf4]) by PU1PR01MB1964.apcprd01.prod.exchangelabs.com ([fe80::8505:cc66:dbab:cdf4%7]) with mapi id 15.20.2814.021; Fri, 20 Mar 2020 00:57:36 +0000 From: Alex Nemirovsky To: u-boot@lists.denx.de Cc: Alex Nemirovsky , Heiko Schocher Subject: [PATCH v2 4/8] board: presidio-asic: Add I2C support Date: Thu, 19 Mar 2020 17:57:05 -0700 Message-Id: <1584665829-4881-5-git-send-email-alex.nemirovsky@cortina-access.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1584665829-4881-1-git-send-email-alex.nemirovsky@cortina-access.com> References: <1584665829-4881-1-git-send-email-alex.nemirovsky@cortina-access.com> X-ClientProxiedBy: MWHPR12CA0065.namprd12.prod.outlook.com (2603:10b6:300:103::27) To PU1PR01MB1964.apcprd01.prod.exchangelabs.com (2603:1096:803:1e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from smok.hrh.localdomain (70.58.207.205) by MWHPR12CA0065.namprd12.prod.outlook.com (2603:10b6:300:103::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2835.18 via Frontend Transport; Fri, 20 Mar 2020 00:57:35 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [70.58.207.205] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 753690c0-f7ec-430f-2ff2-08d7cc69ae45 X-MS-TrafficTypeDiagnostic: PU1PR01MB1882:|PU1PR01MB1882:|PU1PR01MB1882:|PU1PR01MB1882: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-LD-Processed: 0694623c-6669-497c-89c3-3a32a9934313,ExtAddr X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-Forefront-PRVS: 03484C0ABF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(346002)(366004)(376002)(136003)(39850400004)(199004)(6512007)(66476007)(66556008)(6916009)(66946007)(6666004)(6486002)(508600001)(2616005)(4326008)(4744005)(956004)(316002)(186003)(8676002)(16526019)(81166006)(6506007)(2906002)(5660300002)(52116002)(54906003)(26005)(44832011)(86362001)(36756003)(81156014)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:PU1PR01MB1882; H:PU1PR01MB1964.apcprd01.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; Received-SPF: None (protection.outlook.com: cortina-access.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HrinODCH8bhcyn/IITRBJt9mJNv5qYSuslYHltbglLVrnn+FB738m4PA7Td3jHJC5ixslEPMawcw9gKd/B/u8hmldFlM6kdxLOtQMFAwDHKWaihmws36lJvb0JUk3NKadaagBfrddSHsR3SpjunGujwsysavsq/sV453eP4R0hb91rVBromiwsx1hAkFTUIF+3Qvie4Ze2YP3giJHoRNGbF/KrzkaStOwrje2uTGmNVkeCEyQBKZyIBys/XI/iVx5fK67xfW06UG0t3ItV+fc0V2eAC7HFGeTFee1VdfrFkRI6jisxXKVGuKjpIXEfhdL9DL/KUmx4OB0ItEkA/wqTOuqutnJTqlAuF7vArULsL9zCH4CNpL5EHE5gL0KJ7zHSUcSW5s2xxlIiP08XzIejdNv9L6HA4Sgw/gQKurxVHpg0TVMSY1VUoT9crcywRy X-MS-Exchange-AntiSpam-MessageData: BIhT6tNcD8Ac7LkGSZlZpx5UmZwYMfJxowjUWnTzlRmK/z3aGDiusyaOFi5aFTXSzvy65bSv049u81gyAVAT7a5BjtIOQmjUqX1G3NXcFJW0KJalInwZYgx4mI7xjqhl3zE83RfLmWaq6TDRYtY81w== X-OriginatorOrg: CORTINA-ACCESS.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 753690c0-f7ec-430f-2ff2-08d7cc69ae45 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2020 00:57:36.6894 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0694623c-6669-497c-89c3-3a32a9934313 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FQFEF0fNgHBjvgZIxZJotWDfFuaUBWxeIx+ErzKh25CIIqmLhqRFTQkAFJIcgPkPQ4IvzjWFuecynj2KIA2zg1S16KUMJ4CczBkWl4A9W7WyiW5kyG6XBtDG+OuxkYvX X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1PR01MB1882 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Add I2C board support for Cortina Access Presidio Engineering Board Signed-off-by: Alex Nemirovsky CC: Heiko Schocher --- Changes in v3: None Changes in v2: None configs/cortina_presidio-asic-emmc_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/cortina_presidio-asic-emmc_defconfig b/configs/cortina_presidio-asic-emmc_defconfig index e10008a..e45e23c 100644 --- a/configs/cortina_presidio-asic-emmc_defconfig +++ b/configs/cortina_presidio-asic-emmc_defconfig @@ -10,6 +10,7 @@ CONFIG_SHOW_BOOT_PROGRESS=y CONFIG_BOOTDELAY=3 CONFIG_BOARD_EARLY_INIT_R=y CONFIG_SYS_PROMPT="G3#" +CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_PART=y CONFIG_CMD_WDT=y @@ -24,6 +25,8 @@ CONFIG_DEFAULT_DEVICE_TREE="ca-presidio-engboard" # CONFIG_NET is not set CONFIG_DM=y CONFIG_CORTINA_GPIO=y +CONFIG_DM_I2C=y +CONFIG_SYS_I2C_CA=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_CORTINA=y