From patchwork Wed May 3 15:37:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "jeffrey.lin" X-Patchwork-Id: 9710007 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 6C7AB60362 for ; Wed, 3 May 2017 15:37:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7B9A27F8C for ; Wed, 3 May 2017 15:37:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9A2E2860E; Wed, 3 May 2017 15:37:29 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 6C84B27F8C for ; Wed, 3 May 2017 15:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751394AbdECPh0 (ORCPT ); Wed, 3 May 2017 11:37:26 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33266 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbdECPhZ (ORCPT ); Wed, 3 May 2017 11:37:25 -0400 Received: by mail-pg0-f67.google.com with SMTP id s62so17249818pgc.0; Wed, 03 May 2017 08:37:25 -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=N99wtnD1QqpqefUMgwQaUZSjK3fSZ7VZJ6JCwcI4RvA=; b=LINEYA+bHcntoH9j2qGvgNpKk6XBY5Q3xEXKD9IGHTxF2HlhIFD9/reeg0HgSIlFq7 Cr2JMqIZaTOr7we/hCBf+MvfATSrdke1s+08eApL/kxSYdBD0FKKys+xv0TktjU4XQeg JQFqbZ3PLS6EGm1CKVHCkfDFeLfJyvjPvuD17kfE4AuM0GabwdtiXWw6Y3AJ617lboE/ H9capMQKcvapFGtSm7NGTFtj+hKjpH3wz9VZLTYx0JY1YojTWIzCFiaXydPp4qAKIK5g QvN3EgI/pdDGaGEp71l8iROcM6XllNbgOrYfauKmoeEtII99SXE2uHwBrVAvuvFbVAod n/yQ== 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=N99wtnD1QqpqefUMgwQaUZSjK3fSZ7VZJ6JCwcI4RvA=; b=AdUDuiqRP8DR+mZMMkEBhDR85pcYUm+A85eggRqAJfEJZBYzhiH2u0r5r1aKTmuu/Y A/6Ve1VqLjd5a/ULUG+qJ9vUEmi+jT/6+ZbPMn51xyi08eNRb3pF3OgYymvAbNBjMry8 VLtDg9buqIU1OCYNAZekepSO3IrlCkUlPIZ2uhoPXey99H7nNz7brREX3V8zk62WqClY WQQav7hzKBCTQiI4vNTaTxeBvwOV/Xh0GMQxqHYM5uzspW9IM8xcWrZxRHRQLjZ1ivsc 9YVwHskyjKaxk6WdjqPZlUEgzc9uRMlvbG7nQ8bp1ADoGYuewLgfxDVv1gHwsCgGI8KF P9dA== X-Gm-Message-State: AN3rC/62CTdoaEumiByXLpWiWp2fUReV8AD1hQ10h//80at7zZ1uWncw M6KrmlGOMlLuoH1G X-Received: by 10.98.192.150 with SMTP id g22mr5766262pfk.134.1493825844550; Wed, 03 May 2017 08:37:24 -0700 (PDT) Received: from localhost.localdomain (220-132-61-75.HINET-IP.hinet.net. [220.132.61.75]) by smtp.gmail.com with ESMTPSA id n8sm46417346pgd.31.2017.05.03.08.37.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 08:37:23 -0700 (PDT) From: "jeffrey.lin" X-Google-Original-From: "jeffrey.lin" To: dmitry.torokhov@gmail.com, bleung@chromium.org, groeck@chromium.org, Katherine.Hsieh@quantatw.com Cc: jeffrey.lin@rad-ic.com, ealin.chiu@rad-ic.com, calvin.tseng@rad-ic.com, KP.li@rad-ic.com, albert.shieh@rad-ic.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, "jeffrey.lin" Subject: [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter Date: Wed, 3 May 2017 23:37:17 +0800 Message-Id: <20170503153717.328-1-jeffrey.lin@rad-ic.com> X-Mailer: git-send-email 2.12.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "jeffrey.lin" Change boot mode trigger parameter of Raydium firmware update. Signed-off-by: jeffrey.lin --- drivers/input/touchscreen/raydium_i2c_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/raydium_i2c_ts.c b/drivers/input/touchscreen/raydium_i2c_ts.c index a99fb5cac5a0..8a81257634ba 100644 --- a/drivers/input/touchscreen/raydium_i2c_ts.c +++ b/drivers/input/touchscreen/raydium_i2c_ts.c @@ -450,7 +450,7 @@ static bool raydium_i2c_boot_trigger(struct i2c_client *client) { 0x08, 0x04, 0x09, 0x00, 0x50, 0xA5 }, { 0x08, 0x0C, 0x09, 0x00, 0x50, 0x00 }, { 0x06, 0x01, 0x00, 0x00, 0x00, 0x00 }, - { 0x02, 0xA2, 0x00, 0x00, 0x00, 0x00 }, + { 0x02, 0xA1, 0x00, 0x00, 0x00, 0x00 }, }; int i; int error; @@ -1199,7 +1199,7 @@ static SIMPLE_DEV_PM_OPS(raydium_i2c_pm_ops, raydium_i2c_suspend, raydium_i2c_resume); static const struct i2c_device_id raydium_i2c_id[] = { - { "raydium_i2c" , 0 }, + { "raydium_i2c", 0 }, { "rm32380", 0 }, { /* sentinel */ } };