From patchwork Sun Oct 29 09:08:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 831682 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="r6jnmBg6"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yPsJC4fBSz9t2W for ; Sun, 29 Oct 2017 20:09:46 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 9002FC21DBB; Sun, 29 Oct 2017 09:09:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E972DC21C73; Sun, 29 Oct 2017 09:09:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 16D52C21C71; Sun, 29 Oct 2017 09:09:35 +0000 (UTC) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by lists.denx.de (Postfix) with ESMTPS id E0868C21C45 for ; Sun, 29 Oct 2017 09:09:33 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id k62so9667735wrc.9 for ; Sun, 29 Oct 2017 02:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HeUFAfTrYNWvIPUgh0x0fJCB7Um4ouNOWRGerrfQ+n4=; b=r6jnmBg6kLs0OOGBk13cCmE8Syi3++xYCF9brKIpr5qbZobRwdDCPmQvrPJRuew9/I C7ycbRjPvegg/06Py0AY/cqI/YFlh0F9JcEMiqeb4rgHUMl9QViwTQVnoXtVsKfdaiLF 0kul88Elsn5X0q+SeqqNAkJjUoZUlhcV4bPVSjq3oewaUoZEEB1jCI1kZY0BOd4IqYeC w/utiy6ozLowN84MUtMyE3wR6SMe25NkIr2gmFIwq3d0kn5TlBtKm88bjD7+N8HFZCC7 wJDdIBKhx8uDW2tB0WGZSc+jFOhHkRakMUDJEDPhSRVuJCWgG+FaYNZ+SXRV7719p3ND h5Ew== 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; bh=HeUFAfTrYNWvIPUgh0x0fJCB7Um4ouNOWRGerrfQ+n4=; b=TBbpEDTHxLIQaIij+FeimjDm2eE0bDMTxPqVkFr7xUPm4WIVKLtvF1SaOfpSS3x+5R jbYxCbe40WLWiNpeJ1/vWhr5IGR0EA/BYGPHy1Lkztd/etC90UriYMua6z86ESHnI6g3 Sk9DDL5RbNxd+92e2k9o5hLQjLEQqm2UwB7L6k97QRalBWeQ+kyzX1HJMBZAUYn/JSV9 33OTG6O1wItyCEQEeyRsFjS0mNbhKXK0yOo0muYhPld67GVYqPihI1YO9N5gh9Y1F/mb LenXYiUEg213Aba2+AhOIthsZnjPTN6G3K9kA5ZmuRhM5D2xWaId40qt0/b3fAlAgddN CRJQ== X-Gm-Message-State: AMCzsaV6d4xqvpZEDsq5b4nddtKsZKFRn9/Gata/J074ELTUYbQNf7P5 KHopZxXDbiYD1p1sEn5ViWbaH7j8 X-Google-Smtp-Source: ABhQp+TS//xkY6Idk6IwWTQlE+Mmre5BXU2AnMZ+rtnqELZurN4ZmGrJ+ffhs0lLqQImFMrDeAVoCQ== X-Received: by 10.223.199.15 with SMTP id k15mr4903781wrg.111.1509268173193; Sun, 29 Oct 2017 02:09:33 -0700 (PDT) Received: from sark.homenet.telecomitalia.it (host204-185-dynamic.45-213-r.retail.telecomitalia.it. [213.45.185.204]) by smtp.gmail.com with ESMTPSA id n14sm13424061wrg.38.2017.10.29.02.09.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2017 02:09:32 -0700 (PDT) From: Beniamino Galvani To: u-boot@lists.denx.de Date: Sun, 29 Oct 2017 10:08:59 +0100 Message-Id: <20171029090901.24299-1-b.galvani@gmail.com> X-Mailer: git-send-email 2.13.6 Cc: Martin Blumenstingl , linux-amlogic@lists.infradead.org, =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [U-Boot] [PATCH 0/2] Amlogic I2C driver for u-boot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Hi, this series adds support for the Amlogic Meson I2C controller to u-boot. Beniamino Galvani (2): i2c: add Amlogic Meson driver odroid-c2: enable I2C arch/arm/include/asm/arch-meson/gxbb.h | 1 + arch/arm/include/asm/arch-meson/i2c.h | 11 ++ board/amlogic/odroid-c2/odroid-c2.c | 1 + configs/odroid-c2_defconfig | 3 + drivers/i2c/Kconfig | 6 + drivers/i2c/Makefile | 1 + drivers/i2c/meson_i2c.c | 263 +++++++++++++++++++++++++++++++++ 7 files changed, 286 insertions(+) create mode 100644 arch/arm/include/asm/arch-meson/i2c.h create mode 100644 drivers/i2c/meson_i2c.c