From patchwork Sun May 6 13:00:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 10382785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C18076053A for ; Sun, 6 May 2018 13:01:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B34AB28C45 for ; Sun, 6 May 2018 13:01:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9832E28C5A; Sun, 6 May 2018 13:01:02 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DDFA28C5A for ; Sun, 6 May 2018 13:01:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751200AbeEFNA7 (ORCPT ); Sun, 6 May 2018 09:00:59 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:35285 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbeEFNA7 (ORCPT ); Sun, 6 May 2018 09:00:59 -0400 Received: by mail-io0-f195.google.com with SMTP id g1-v6so21249783iob.2 for ; Sun, 06 May 2018 06:00:58 -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:in-reply-to:references; bh=2eXYJPTJoH+CiFaL0+Utpi4FbqKBo136ChQqzqlomhA=; b=o15ngn648LZFH9jvrYfSNhbWLbrhdiz5G4RKwVnhzvsd/7fw8sJLSessv5u+UNq/CG 0QuXcJ9/7z5biyB3lcuFiOWmPC33bSVTRl7x7bn517gKOQ7sNZ2tyrxxrHetNdCAmo+f Jg3wbyVkWn+Hoycv3UeBvjzRTOnJTzqbZD2tqPZRkSeUZHStkbBsDs8sM+SulqbSEz8R 1YtIfHrfkeXgdCCIhfDgjIAJiqkXG+7qa2z3veIFArdCcCzoTwrhchG2dTIT5BxlBoeY TZ3bdYL5IdcJsjDc6yNr7c/M+AjKhCMPkIVaP0T/em6kGsUN1kL0UTv2kXQEkJYxS2vo 3dbg== 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=2eXYJPTJoH+CiFaL0+Utpi4FbqKBo136ChQqzqlomhA=; b=q+T3UD1/tQtGrWvHmPEOrcwkyGemy8zV5ZTNuy2W4J+vOlZSAbRWLNK/VlKK6O1SPI v0QooBG7tnJleAQNRMaYpDIE8IwSF4UEE8OUBu+SRYxNAI7d1nCt3Bd3LolvaQMFkjAX ur2ATzAAEbAnN34isX3lRQ16/7wLfjQgbXm8ekl/1CTUkE7s27obhNkTOUl2o+1j6iEi 8MFS5if7TprqycgnMQmOM+KQVjnoCaibBnz3bQ1LUiUx/y9lTTe647UkUs3D6i1lQ8mh 5/BOO5oyj0LZ2muEK5xZBObBNTtrXZBWTzldwbMaj6gwAwvRCIA3NXSpX5F7V06B//N1 5icw== X-Gm-Message-State: ALQs6tAMmeI4XEhQKVRHAAQI3DAAZl6tpw6P148cgzQyfZqsufSEJn6S wCoKCD3yEB+T2dQctYMfakkFog== X-Google-Smtp-Source: AB8JxZrOlOd1D/ohnT3uOws4I5p7CfkndicZ3cYSaqRWvLfSa99t6pZiF2OXhv6cbzcMqXWXCMPxGA== X-Received: by 2002:a6b:8065:: with SMTP id b98-v6mr34499033iod.281.1525611658166; Sun, 06 May 2018 06:00:58 -0700 (PDT) Received: from localhost.localdomain (c-73-65-120-235.hsd1.mn.comcast.net. [73.65.120.235]) by smtp.gmail.com with ESMTPSA id e1-v6sm3050183ita.23.2018.05.06.06.00.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 May 2018 06:00:57 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: woods.technical@gmail.com, adam.ford@logicpd.com, Adam Ford Subject: [PATCH 2/3] ARM: dts: am3517-evm: Add I/O expander for User DIP switches and LEDS Date: Sun, 6 May 2018 08:00:48 -0500 Message-Id: <20180506130049.21701-2-aford173@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180506130049.21701-1-aford173@gmail.com> References: <20180506130049.21701-1-aford173@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is a tca6416 GPIO expander on i2c2. This patch enables the GPIO expander which has several LED's and some connected DIP switches Signed-off-by: Derald D. Woods Signed-off-by: Adam Ford diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts index f9ebefa735df..e5cc93053539 100644 --- a/arch/arm/boot/dts/am3517-evm.dts +++ b/arch/arm/boot/dts/am3517-evm.dts @@ -105,6 +105,13 @@ &i2c2 { clock-frequency = <400000>; + /* User DIP swithes [1:8] / User LEDS [1:2] */ + tca6416: gpio@21 { + compatible = "ti,tca6416"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; }; &i2c3 {