From patchwork Fri Aug 21 10:05:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 11728731 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CD8614F6 for ; Fri, 21 Aug 2020 10:05:37 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 073C1207DF; Fri, 21 Aug 2020 10:05:37 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 94CAE207DA for ; Fri, 21 Aug 2020 10:05:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xD3tym7x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94CAE207DA Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=jens.wiklander@linaro.org Received: by mail-lj1-f194.google.com with SMTP id v12so1201523ljc.10 for ; Fri, 21 Aug 2020 03:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=P6Z4l7H1CmoTdLGQ/Idn5B/IuXADWeekwCsfbIiIVOI=; b=xD3tym7xDndje6Ux91b2Q5rDHkGlKl9oeHs8t42VpI4222lDLOp1j/qycuipy04Mn9 FI+A8wYkiRCU2HJ1LHnMsxAuxWAQHOd1x+lgQO+CazWv9m0Pm8K4RWTpRaCGvaXGjNFs ivDaSZwgf3gWtPceoPeRgSUWFOhWP7gPFYJ03H4MOjpD6wowa8hFF0EljI52Mjst1Of0 bXwfAG03tBHa2HTzwvvOV+qx+8QMZSphNGjQU0IZ1kZeNJ2bd4L0FCGP8bxP2eAaXL2o vV+3PDMabyoQe0hdQYTrOg47CShBQwgdtu24XbhxZhS8aWWTQTW6FW3KKPRzTQvy6SDf 4myg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=P6Z4l7H1CmoTdLGQ/Idn5B/IuXADWeekwCsfbIiIVOI=; b=lWXSne5ROzcBa/kcUTkuiQl12c/PVy4eV9z48c2Kpdg4f3mkVB0jExBfnrLGlF8Rja ea+RVvh3t8kyjzxsoALgXLDB+2Ft3935HohM86989YgUZ0Pc3SScza/qAJQ1oZJLDfH8 m2j3gbywX4o5emwCCnq9V1FOjVWWn3sb8ZPzd/DV+NvkG04P3dFgxad7AMVjYI6zf4rq 94WqjMV/MqZpCQW7wiWLU3TbgbvYLQhPW3+9muosMvBLDVS25MQmzKVL5R7q2t8aZBrC UNfLEL9Fc45c1AYsql1onZS68ddmslvxDugzxdFY6xrl668nEb5FyiN9c+auYgVsqQpL SV4g== X-Gm-Message-State: AOAM533zfzX1lD/Gy4HS/fFc5tCwtXhbnbZf+0T4k0LoEHdnlBZ+Ruku QQDRXQ+Xgo4avTPmu3KbdBOg8A== X-Google-Smtp-Source: ABdhPJyGtkbq70ZIBc+Lki361KuTbZPSFCFP7Ijv5CXOHP/XowRq0ML6nvqGIXPqz+sKWxCNRHOhxQ== X-Received: by 2002:a2e:a550:: with SMTP id e16mr1134962ljn.14.1598004334809; Fri, 21 Aug 2020 03:05:34 -0700 (PDT) Received: from jade (h-249-223.A175.priv.bahnhof.se. [98.128.249.223]) by smtp.gmail.com with ESMTPSA id b15sm283340lji.140.2020.08.21.03.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 03:05:34 -0700 (PDT) Date: Fri, 21 Aug 2020 12:05:32 +0200 From: Jens Wiklander List-Id: To: arm@kernel.org, soc@kernel.org Cc: Linux Kernel Mailing List , Linux ARM , op-tee@lists.trustedfirmware.org, Jorge Ramirez-Ortiz Subject: [GIT PULL] optee i2c for v5.10 Message-ID: <20200821100532.GA1868056@jade> MIME-Version: 1.0 Content-Disposition: inline Hello arm-soc maintainers, Please pull this patch enabling i2c access from secure world via a trampoline in the OP-TEE driver. Thanks, Jens The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.linaro.org/people/jens.wiklander/linux-tee.git tags/optee-i2c-for-v5.10 for you to fetch changes up to c05210ab975771e161427eb47696b869d820bdaf: drivers: optee: allow op-tee to access devices on the i2c bus (2020-08-21 11:41:45 +0200) ---------------------------------------------------------------- Enable i2c device access from OP-TEE RPC Extends the OP-TEE RPC protocol to enable I2C device access. This allows a driver in secure world to access devices on a normal world I2C bus. ---------------------------------------------------------------- Jorge Ramirez-Ortiz (1): drivers: optee: allow op-tee to access devices on the i2c bus drivers/tee/optee/optee_msg.h | 21 +++++++++ drivers/tee/optee/optee_private.h | 1 + drivers/tee/optee/rpc.c | 95 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+)