From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5AB2781FDD for ; Thu, 22 Dec 2016 05:09:20 -0800 (PST) Received: by mail-qk0-x22c.google.com with SMTP id u25so102427277qki.2 for ; Thu, 22 Dec 2016 05:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lKiVq30lezxRzozJxtaJ6MX6UMT+co+9VPt5Ks9PKAI=; b=hLX4x9QOCT+wMQg9CfEmoXw6Yv2O0noQx7ffbAM/EL8Pq8AkowXnKop/C35zoI3qx9 arwjfKwJDANrDi1Vlr11L0I65lXrpPiEArCRahVrjD4cZMBn/x8ZnXzXsLEsU0No1Tbk djlCjHI+SGNkOmMsOsYGjmX5tTa4fq/YdXlusRgX/VjgPwl53bq47YCHohlpUXtSM4pn aWXjxR2u42xizb89hYcBcBoe+SLqjiixCbFQhvqMvtLYpy5fCDrYgv+XL73YW7yhBCtW EuOUO6Kpoa/0WQKcZpBQj7t0sI+og4hc8J64LehB4gERGAv74nyTZW+HoFXpKMdw0TFO Rz7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lKiVq30lezxRzozJxtaJ6MX6UMT+co+9VPt5Ks9PKAI=; b=nUMM3xjieWATerS8b3tUzuYElTKdzdCJtPfUq3QcWlo1lrOOvfOVrdi7xK2vtr4shS iurTh4tNza1mzQpQL3TR+8DlZDa3TLXxddYwW4xcwZZre+PmBnbxQI86bIGd05+3LAwr ZQZ3k5kn0f+2A+uCXJYTKnmDKgMav/yUrw7SefoBV3lY1B3J5zyDQSalglcYkPajCr1N 4dRKcnb5DFaf1XLl8pijerL2n9dA1vOuljbarunfpgxrFgpgu97TN3B0Ll9rEgD+4FNy XpdP33vK3hZpGyMU/QI3zvgmkXotGPygZ5AIM1044L8eV3d0HMACYRW+/k7al4BJFMPm Kc2A== X-Gm-Message-State: AIkVDXIcuEFkavpMccwSAHe70bTNDSRycklpSd7bSVoBH8jGCdZhQI8nvi39+vRFdf78cqJvr8U9X1pUNq5RNw== X-Received: by 10.55.149.134 with SMTP id x128mr9214313qkd.263.1482412159218; Thu, 22 Dec 2016 05:09:19 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Rafael Machado Date: Thu, 22 Dec 2016 13:09:08 +0000 Message-ID: To: "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Accessing I2C GPIO Device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 13:09:20 -0000 Content-Type: text/plain; charset=UTF-8 Hi everyone I have a platform that has a I2C device connected directly to a processor's I2C pins. Now I'm researching the way to send and receive information to this device. The first idea we had was to use the I2C Protocol Stack, but I'd like to clarify one point. After reading the documentation related to the I2C Protocol Stack, seems this is application just in case the system has a I2C bus were other devices are connected. As far as I could understand on out case, since the device is attached directly to the CPU pins, I understand that the correct wai ti access this device is using the CPU I/O Protocol. Is my understanding correct? In case someone has some details about a scenario like this it would be really helpful. Thanks and Regards Rafael R. Machado