Received: by 10.192.165.148 with SMTP id m20csp1653240imm; Wed, 25 Apr 2018 23:38:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx49KpOWhTYJTTac/15fdB2u1iDe30kM6fRmAUedLLvycbBAKbvXh2D89Qe1kvzdMr6+k+UN1 X-Received: by 2002:a17:902:3f83:: with SMTP id a3-v6mr32546289pld.279.1524724700894; Wed, 25 Apr 2018 23:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524724700; cv=none; d=google.com; s=arc-20160816; b=E/zs9CGuMC7UsWhJbLXQzAIKb+8/BrvjL7I1DNZq3+V3/f1LFUYHqQm09YzmTh+nBU r0rC6Sgjki3/jvzDIG81xwo2s5mPJZKPtRUIBZSkFDBcrXX39XIMUIvgWk5tgsTDkjCh VGkQC6YScCq3zj19TsuIBBIsrXzdst38kEKs8TaGNEubhB0pFr3lPGpUNcO3qTRgLaJ5 hV20RootuekhFSwj8rZTaXmi7fbemGZEMQ5n63Skud/91dN1MY1+r/tz4WLeTEXzGSa4 1TYEraphbmkZ2C8aS71XtQz89Vnf/Rq+0Cm1F9PWLsO9WB22dRafg61VCY0impPhrP3P t1HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=DD1jes+dW9xbEoLP8wk9talcJUCAGhpwChe8hCIpUl4=; b=EuFMpxJCKiyoHWL6izSQ3yGs0+mWjN0y3Qsu21qq2Q2ybDx7rXg2Gkb3eYjGmCfJEL IQUQ4i0nVq8z7LVS7NVVq1HJDKVuzJ8CPvwXLSS8iYpN6Q4Aa1JsQnL56e3LtGIM5R6g F6HUrVew1zTTyhBTBaIV3BIxNfVYSydZ5RJyD25b9ZuukTY5AWDZDlPquQiEziIGwQnB toTWbvqLcPwplxBH6tURjM6y4LMhGq2VzzJsA6tqq5/ILUodbMHxXp97j9YAc24FyaZr 782fsgCCYCZOEUn65+CDf42wvlJIqcCbssGiigIOQkkGietBzZVFnlLex9CHer8qQ0hH dc5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Sony.onmicrosoft.com header.s=selector1-Sony-onmicrosoft-com header.b=T7Gu1jia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si5508580pln.1.2018.04.25.23.38.06; Wed, 25 Apr 2018 23:38:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Sony.onmicrosoft.com header.s=selector1-Sony-onmicrosoft-com header.b=T7Gu1jia; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753378AbeDZGg7 (ORCPT + 99 others); Thu, 26 Apr 2018 02:36:59 -0400 Received: from mail-sn1nam01on0114.outbound.protection.outlook.com ([104.47.32.114]:20288 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751508AbeDZGgz (ORCPT ); Thu, 26 Apr 2018 02:36:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Sony.onmicrosoft.com; s=selector1-Sony-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DD1jes+dW9xbEoLP8wk9talcJUCAGhpwChe8hCIpUl4=; b=T7Gu1jiai9bcsJ8WTYCs2tumJOjY8ntxUeY/ICaSx8n/0+tU7NlIhxz5sr332YSPj22R7kpg540DUu7AWjGsvHUFDQ/Smzy5//54rt8Ladlh08eohDq+b+zOu3+s1iWQYN6kySQFFuxAPfGefofA0wcIUzNkd+YWNEbHhWeVbsU= Received: from DM5PR13CA0066.namprd13.prod.outlook.com (2603:10b6:3:117::28) by MWHPR13MB1424.namprd13.prod.outlook.com (2603:10b6:300:123::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.715.7; Thu, 26 Apr 2018 06:36:52 +0000 Received: from BL2NAM02FT045.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::203) by DM5PR13CA0066.outlook.office365.com (2603:10b6:3:117::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.735.5 via Frontend Transport; Thu, 26 Apr 2018 06:36:52 +0000 Received-SPF: Pass (protection.outlook.com: domain of sony.com designates 117.103.190.44 as permitted sender) receiver=protection.outlook.com; client-ip=117.103.190.44; helo=jp.sony.com; Received: from jp.sony.com (117.103.190.44) by BL2NAM02FT045.mail.protection.outlook.com (10.152.77.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.696.11 via Frontend Transport; Thu, 26 Apr 2018 06:36:51 +0000 Received: from JPYOKXHT114.jp.sony.com (117.103.191.61) by JPYOKXEG104.jp.sony.com (117.103.190.44) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 26 Apr 2018 06:36:47 +0000 Received: from localhost.localdomain (43.25.41.244) by JPYOKXHT114.jp.sony.com (117.103.191.61) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 26 Apr 2018 06:36:47 +0000 From: To: , CC: , , , , , , , Subject: [PATCH 2/3] [media] cxd2880:Optimized spi drive current and BER/PER set/get condition Date: Thu, 26 Apr 2018 15:41:29 +0900 Message-ID: <20180426064129.32161-1-Yasunari.Takiguchi@sony.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180426063635.31923-1-Yasunari.Takiguchi@sony.com> References: <20180426063635.31923-1-Yasunari.Takiguchi@sony.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [43.25.41.244] X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:117.103.190.44;IPV:NLI;CTRY:JP;EFV:NLI;SFV:NSPM;SFS:(10019020)(39860400002)(346002)(39380400002)(396003)(376002)(2980300002)(438002)(199004)(189003)(305945005)(72206003)(356003)(1076002)(7736002)(956004)(7636002)(2876002)(246002)(51416003)(26005)(16526019)(186003)(336012)(126002)(59450400001)(49486002)(486006)(2616005)(76176011)(476003)(86362001)(50226002)(2906002)(6666003)(5660300001)(11346002)(3846002)(66066001)(47776003)(106466001)(478600001)(446003)(4326008)(426003)(8676002)(8936002)(106002)(36756003)(48376002)(39060400002)(50466002)(6116002)(110136005)(6346003)(16586007)(54906003)(316002)(107886003)(86152003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR13MB1424;H:jp.sony.com;FPR:;SPF:Pass;LANG:en;PTR:jpyokxeg104.jp.sony.com;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;BL2NAM02FT045;1:O8rTbMg1ujG6no272gojsiXx1gEEAlEUTkXcnt/as8e5hqkySUQJVt+wwpBTv1NOx4M2V2xW/Zs8ibLwEvcu+Hqa9CR/mUy1NsrKY+awZ9DBU/ufb2h0t2tfTra14crl X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:MWHPR13MB1424; X-Microsoft-Exchange-Diagnostics: 1;MWHPR13MB1424;3:yK0dka+tEUAW5Np/slsn2aq+aBcfBmEcXUKrzsVnLixFrDvha7OdMejyxIH5GbIEyvRI4P6ogyR7geoylDZ0D7xj6VQCNT/GarxZWV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GAPd9+IhKYDFDe+IGUwtr5bt0HYqJMJ+fenEbzNgz5HthZsf/zxPnq7A0QWeEG7NtqkW/ucvF3tWUuEzotcxlpRSOysrrd6KyTgxkqmG203yoBXm+Sf/qBoSChdMgdmr3Naxxey1s8pX2EimQLMJVKeUCDYwzGu800HDT8SVyzCLekCcxJMfT8O+rPILy74iISQ3Bx+/z1eTOznWm0FjotqSNywep1NBAMN3nGPwFL8eh8Vo6WUOk3oYU7pwmU61RvbNZOVDT8yhomA74bcxpT7G3Sj0qTt5M1MtlIazLImCOKemZb17WQL0xrjsldKWRGElYB8lUaSbJ82qk4gxOsrdH5IOrehLhmCQmKwvM X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(182409339516656); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(11241501184)(944501410)(52105095)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:MWHPR13MB1424;BCL:0;PCL:0;RULEID:;SRVR:MWHPR13MB1424; X-Microsoft-Exchange-Diagnostics: 1;MWHPR13MB1424;4:zr2HOd9oMt7FRco4rhlYk31rrpxCJ36MPCpvWXiheAhARjf2jhjWuRt/GjjtKwdjrO2TFazgbaiqUCPVZ6TA0Hkn2G+pNZL5xHzUprceYbk78pRTuvnD8eYhPr6XQSHRyWX5+OJMe4R6O/TJSGwn7M3xuFjI+FCaBLXnL8on4HwVr2s3pbw/V/r6kfN9p+aEX3ixHAZv7lSKpmfY0b2Si4dkF5sIqFIH8qCAwuGdbkX6rFlBhczV/OzP0AlOkqypjQ+wUc3eSTYEU/wZaPiAr2HRScilCi3Avzkmo+ykH8QVFpaykgtp3q9XRSNVMcXi X-Forefront-PRVS: 0654257CF5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q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6hJ3Mlwn7kW2mCFJHv5?= =?us-ascii?Q?7ZHbEz6JZcDHef9SsOk74PFQ8YbK8ABhF1qzR5yLGE08VqA1cbjfBO2yRZqd?= =?us-ascii?Q?oMT17gc1Sn19jUCHjv62h1tP6a5WGL+5xKPwLf9dnCyx65dS42H3sJTzlMKI?= =?us-ascii?Q?hCxKqjaTE+d60UOKd7yvsjvaOqvuBK9NcwiFnfVMc+3bY93pldTMJUMR0DeA?= =?us-ascii?Q?dsfi1p1uYXq/3jFjVx8RGAa/GZ5LIicOK671o0xUSFmEe0t6J8WJRpKRsBgS?= =?us-ascii?Q?gmbEl+DksjybFv1nLqHc1zhF6+C/JoFbGOlcneakqoj66KtO4xHCgc7QLhI5?= =?us-ascii?Q?lH7/wa1RuWLGcVGIuxDPWnpm2WNDTJzDTKbU+An14NVyP/POHPyb/fzulOHe?= =?us-ascii?Q?mp1JqH86vA/AQxQCK/uyizNSMK4TSuWLV3tfWeW/Avu22+tOL9AtIs+NdsYw?= =?us-ascii?B?dz09?= X-Microsoft-Antispam-Message-Info: TJjrCAgy/6MsBFgorAIwu/2b7fCVBN4TE+qepkL12Qxdh/6aHSfkVUsAx8virzGKMw85NSbAo7+C+4is/FYW6noNNBPorgqphF+6NWE3DJZIm4Kpn78JPglN8M3ijsZuRos+uq8J+RM1imE8pgW0a3jHEvBQddAgqkqgJ+vVNG55p1v4N2O4KPwHeRqDZ807 X-Microsoft-Exchange-Diagnostics: 1;MWHPR13MB1424;6:b7RucoJClFrHGFVWgmhYQEUvMrF7hcn+oZsMQov7o/JKMe9lcHqlBSy7EX+mDQF6+YdH13kH0isZN5uky8ndif24SF5Qe/HU6lbWS/9YDINEekGOYpPlTen++BHiDEN/w6PgM+Q4l4PzU6N8UN1m2Uiltm8PL5D4pxmCsH9I0jXjcg09jwx3KhIFyGPdXCHwuIsfUB4HLD19Rx28EAQ2C6lPeFDvMbhXVVV/XuyhvKPkWUyo2PcV5jod2YO6RnI3ZUzMV3HVvhOWuytAAKHSlCk2GO4ckmT1TF6882LADeMUYHKlfjvI4TEql2KzkeybIc6CdTk/F2j9un0N7gTBPfzgh0mad7q/v/WODayttwcILParbnxyMysnIhi26N2kHDxTVzweZnzUs/1Ffy4EqwIELsc/8BsJ+uu8iHrXXtKWJMeBXsGOZZ32UDnIE9S94ZdjhSGzy3uptZXtT1U/mA==;5:fMl8irRCeTFT/Fz/YPfRwEIgq1OZnv9EWosQEsUYRKOhtAMKb4bbeViqUDjdFOrFzb/s+fBU9Wl60GFRCXsbzdoP6zh63WVrip0634IDqVcgasysVubjfrM2WnLWIpngpHUEJZNkLSBRx4mYWGJ0P8yr2hk3ZTbAtIUNR4Ys8aM=;24:caWhtcg2RyO+FEF55eDCNtaBfkgWPiY+lf6+jBwwEmfdDWOYrAT+K49MSQUTarjniDFiOyeGf1CqoaJTAp3a08GXo38SdaQVdvszAOIgMks= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR13MB1424;7:PlSuMD9c+/ZuD8FZbxIPC4kgEynKzRuBgkeChmpyeWfqJSArM19UnVWOPujUSvh1wncZ7aPugEIIClRzU2a9jrMVmX0qPkF07KwPxlEY4eVH4J9e6WDAii/vG5HfCUTN1mSLVqxHqD5qx1n5ZXhJq9n2jnetfGzS8FC5D1fKIT1PReYxOPU6ccp4j7M1iUbBicaSphoFNXqhkkw9yy6hWVFU5Zp1iIunBwFsv+wMrHqTLVb3kMCe0bWcn1TdLsNR X-MS-Office365-Filtering-Correlation-Id: 0e546e13-7458-4c48-ec62-08d5ab401894 X-OriginatorOrg: sony.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2018 06:36:51.6619 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0e546e13-7458-4c48-ec62-08d5ab401894 X-MS-Exchange-CrossTenant-Id: 66c65d8a-9158-4521-a2d8-664963db48e4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=66c65d8a-9158-4521-a2d8-664963db48e4;Ip=[117.103.190.44];Helo=[jp.sony.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR13MB1424 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yasunari Takiguchi This is the optimization for SPI drive current and signal lock condition check part for BER/PER measure to ensure BER/PER are stable Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by: Hideki Nozawa Signed-off-by: Kota Yonezawa Signed-off-by: Toshihiko Matsumoto Signed-off-by: Satoshi Watanabe --- [Change list] drivers/media/dvb-frontends/cxd2880/cxd2880_top.c -reduced the SPI output drive current -optimized signal lock condition check part for BER/PER measure to ensure BER/PER are stable drivers/media/dvb-frontends/cxd2880/cxd2880_top.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/cxd2880/cxd2880_top.c b/drivers/media/dvb-frontends/cxd2880/cxd2880_top.c index d474dc1b05da..bd9101e246d5 100644 --- a/drivers/media/dvb-frontends/cxd2880/cxd2880_top.c +++ b/drivers/media/dvb-frontends/cxd2880/cxd2880_top.c @@ -520,6 +520,15 @@ static int cxd2880_init(struct dvb_frontend *fe) pr_err("cxd2880 integ init failed %d\n", ret); return ret; } + + ret = cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, + CXD2880_TNRDMD_CFG_TSPIN_CURRENT, + 0x00); + if (ret) { + mutex_unlock(priv->spi_mutex); + pr_err("cxd2880 set config failed %d\n", ret); + return ret; + } mutex_unlock(priv->spi_mutex); pr_debug("OK.\n"); @@ -1126,7 +1135,7 @@ static int cxd2880_get_stats(struct dvb_frontend *fe, priv = fe->demodulator_priv; c = &fe->dtv_property_cache; - if (!(status & FE_HAS_LOCK)) { + if (!(status & FE_HAS_LOCK) || !(status & FE_HAS_CARRIER)) { c->pre_bit_error.len = 1; c->pre_bit_error.stat[0].scale = FE_SCALE_NOT_AVAILABLE; c->pre_bit_count.len = 1; @@ -1345,7 +1354,8 @@ static int cxd2880_read_status(struct dvb_frontend *fe, pr_debug("status %d\n", *status); - if (priv->s == 0 && (*status & FE_HAS_LOCK)) { + if (priv->s == 0 && (*status & FE_HAS_LOCK) && + (*status & FE_HAS_CARRIER)) { mutex_lock(priv->spi_mutex); if (c->delivery_system == SYS_DVBT) { ret = cxd2880_set_ber_per_period_t(fe); -- 2.15.1