From patchwork Tue Jul 10 12:44:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141507 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3837534ljj; Tue, 10 Jul 2018 05:45:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdrJIt7gK4oDiwkg/2YfL9IZuhvwe1gZluMqfg3AxH1HZNCxb5eVi089C3jY4BreqUNYpJ+ X-Received: by 2002:a65:4587:: with SMTP id o7-v6mr22843235pgq.317.1531226719126; Tue, 10 Jul 2018 05:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531226719; cv=none; d=google.com; s=arc-20160816; b=BfMJfKmbz7bQzQQjAiKUCImg57oXdUKJj61Jt1rWx/xqHjbLp0TTmWE9fm0DcXy/Lf DFhYsxT/qq4aXvRSBWgexFpVVCpmFAyVonc4W+mfgTMp8PJ/JdZyYZnBil/KZP0zWd3h 2U2/ONERYGOrjJV9P93qsmml4Gm0+SRMkzWnmSkvM209A5OzU+R+MhWGa+B4OVx0BUhR GDe7M5jGHwQ4B3A/GcX4fn80DTDFkHooOqBT0OA1oDUFnAfzBRh8FIpQqUxa3SITkQJU R6XJ5mGJ0LDpnqdsmBvmny+cXp7cjWePh9H0fsnmASova+Zk7OnT1jpBWSekEdXnnIWS A3fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=buRKeGUI4w/ZJ28FDiqcaEC5OWqc6EQdpsAjaUuvaQM=; b=kRSWtNT33oiQDfg3NGBNHm32b7Shs4fW6sQ9c6iYZ2QUHMW8YxOr/7+dojGf/lgDuT SlP4ZE7lLoEcR5vXF4oOJFtJ6FCKJIXOy21QuhZHq2qr3kAiRhcCWLGepLF96Ed9v38b AaAsZlE6rzVGRCXDrsB155BOZO+0eCOr/NFs87AcEl6wghWBcWmK78Z6bprx1boMrL2X J55ZT94NQszwIyIPr9DBDeRnA2gDruOsubMr6x88BK2vlJEWCorX4t39vzT/HtilDOc1 0TlzaYaazmhMN2tFyxVqJ5AY1ynhHafaINgm3KrO7jPZ09NUrrD4mOhpk2loBNvGMHh1 ITJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=VhxEJUDv; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12-v6si7961062pgd.334.2018.07.10.05.45.18; Tue, 10 Jul 2018 05:45:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=VhxEJUDv; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933256AbeGJMpS (ORCPT + 5 others); Tue, 10 Jul 2018 08:45:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:48856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbeGJMpR (ORCPT ); Tue, 10 Jul 2018 08:45:17 -0400 Received: from localhost.localdomain (unknown [106.200.232.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 239E8208E3; Tue, 10 Jul 2018 12:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531226716; bh=4hmsnQrjT93Ja6/pq888701+ccOTu93J6FMUd2KRevQ=; h=From:To:Cc:Subject:Date:From; b=VhxEJUDv5oY1kcPMY/ZyAOMFJ6ql38pYnOulYpFKQ0dhJJFTbFgC1dr7GvovHJuKM 8fRBkwBqAEs8YmYc3bCagAn+9uU56xGbMZBTxqtXmrY/bF/Gu0OYg9sBDLmWYmw36h b6COHISlt9PPX7s3WJ3kkh/cKEYa/MSSwwykMuvs= From: Vinod Koul To: linux-i2c@vger.kernel.org Cc: Rob Herring , Wolfram Sang , devicetree@vger.kernel.org, Todor Tomov , Vinod Koul Subject: [PATCH 1/2] dt-bindings: i2c: Add binding document for Qualcomm CCI Date: Tue, 10 Jul 2018 18:14:42 +0530 Message-Id: <20180710124443.24932-1-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Todor Tomov Add DT binding document for Qualcomm Camera Control Interface device Signed-off-by: Todor Tomov Signed-off-by: Vinod Koul --- .../devicetree/bindings/i2c/i2c-qcom-cci.txt | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt b/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt new file mode 100644 index 000000000000..cb1fe158fba3 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt @@ -0,0 +1,46 @@ +Qualcomm Camera Control Interface controller + +Required properties: + - compatible: Should be one of: + - "qcom,cci-v1.0.8" for 8916; + - "qcom,cci-v1.4.0" for 8996. + - #address-cells: Should be <1>. + - #size-cells: Should be <0>. + - reg: Base address of the controller and length of memory mapped region. + - interrupts: Specifier for CCI interrupt. + - clocks: List of clock specifiers, one for each entry in clock-names. + - clock-names: Should contain: + - "mmss_mmagic_ahb" - on 8996 only; + - "camss_top_ahb"; + - "cci_ahb"; + - "cci"; + - "camss_ahb". + +Required properties on 8996: + - power-domains: Power domain specifier. + +Optional: + - clock-frequency: Desired I2C bus clock frequency in Hz, defaults to 100 kHz + if omitted. + +Example: + + cci@a0c000 { + compatible = "qcom,cci-v1.4.0"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xa0c000 0x1000>; + interrupts = ; + power-domains = <&mmcc CAMSS_GDSC>; + clocks = <&mmcc MMSS_MMAGIC_AHB_CLK>, + <&mmcc CAMSS_TOP_AHB_CLK>, + <&mmcc CAMSS_CCI_AHB_CLK>, + <&mmcc CAMSS_CCI_CLK>, + <&mmcc CAMSS_AHB_CLK>; + clock-names = "mmss_mmagic_ahb", + "camss_top_ahb", + "cci_ahb", + "cci", + "camss_ahb"; + clock-frequency = <400000>; + };